Skip to content

v0.12.0

Latest

Choose a tag to compare

@thrawn01 thrawn01 released this 14 Jun 12:44
98a46f5

additionalProperties → proto map<K,V>

A type: object property with a typed additionalProperties (and no declared properties) is now converted to a proto3 map<string, V> field instead of an empty nested message. Value types supported: string, scalars (int32/int64/bool), and $ref (map<string, Msg>).

Previously a typed map became an empty message: plural field names hard-errored, while singular names (e.g. metadata) silently dropped the value type on the wire. This unblocks steve and clears the slip-stream protobuf/JSON divergence (ENG-103).

Part of ENG-102.