๐Ÿ“Protobuf: avoid using required fields

proto2 supports required, optional, and repeated fields.

Required fields are always required to be presents and old client will always expect them. This makes it almost impossible to deprecate them.

This is probably the reason that proto3 does not have required fields and all fields are optional in proto3 (Protobuf: proto2 vs proto3).

Backlinks

โฆ
Want to receive my ๐Ÿ–‹ posts as I publish them?