All fields are optional in generated messages for proto2 schemas
joemckenney opened this issue · comments
Joe McKenney commented
When using proto2 in a project, we expect the generated code to encode the optionality of a field in a message.
Currently, all fields in the generated messages are optional (which makes sense in proto3 but doesn't quite align with a proto2 schema).
Václav R. Gröhling commented
Seems to be related to #414
Joe McKenney commented