Re:Gobs of data (2011)
by _ZeD_ on Monday December 04, 2023 @10:42AM
(#38518617)
FYI: required fields were re-introduced in protobuf.
why? because despite what the gobs team and others thinks, that is a necessary feature to work with data structures.
If "everything is optional", what is the value of any structure, over sending an untyped associative array of stuff?
[ Parent
| on HN ]
"Optional" fields, as in fields you can tell if they were explicitly set or not, were re-introduced. Depending on your definition either required fields were not reintroduced, or required fields with a mandatory default value were until recently the only kind of field in proto3.