Thrift file sets, field-id breaking rules and lint
An Apache Thrift API split across files now imports whole. Upload the root .thrift file with the
files it includes as an archive, and every file's types and services join one catalog item.
Import an Apache Thrift API.
- Includes resolve.
shared.Moneylinks to theMoneythatshared.thriftdefines, and a service thatextends shared.BaseServicerecords its base. - Safer references. An include that is absolute, a URL or a
../path out of the upload is refused and never read. - Field-id-aware diffs. A renamed field that keeps its id is dangerous rather than breaking, a
reused id is breaking, and
requiredfields follow Thrift's rules. - Thrift lint pack. Five rules: a declared namespace, no
requiredfields, unique ids, explicit enum values, andonewaymethods that returnvoid. - Sturdier parsing. Methods with several parameters, typedefs and last fields without a
trailing separator, and
//or#inside quoted strings are now read correctly.
