You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mafintosh - optional in proto3 has the meaning that the absence of the field can be distinguished from its default value. At the moment this module is swallowing all occurrences of the optional keyword so that users cannot see when fields have been marked this way.
I would suggest adding an optional boolean beside required and repeated. required would still always be false for proto3.
Would you accept a PR with this change ?
The text was updated successfully, but these errors were encountered:
Hi @mafintosh -
optional
in proto3 has the meaning that the absence of the field can be distinguished from its default value. At the moment this module is swallowing all occurrences of the optional keyword so that users cannot see when fields have been marked this way.I would suggest adding an
optional
boolean besiderequired
andrepeated
.required
would still always be false for proto3.Would you accept a PR with this change ?
The text was updated successfully, but these errors were encountered: