Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow "required" as a message field prefix (proto2 syntax only) #3

Open
perezd opened this issue Aug 2, 2020 · 0 comments
Open

allow "required" as a message field prefix (proto2 syntax only) #3

perezd opened this issue Aug 2, 2020 · 0 comments
Labels

Comments

@perezd
Copy link
Owner

perezd commented Aug 2, 2020

https://developers.google.com/protocol-buffers/docs/proto#simple

This would be only allowed in proto2 mode. A MessageFieldSpec can have a single field prefix of "required", "repeated", or "optional". Should throw a usage exception if required is set on a MessageFieldSpec in proto3 syntax mode.

@perezd perezd added the proto2 label Aug 2, 2020
@perezd perezd changed the title allow "required" as a field prefix (proto2 syntax only) allow "required" as a message field prefix (proto2 syntax only) Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant