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

Multiple enum value options not allowed #48

Closed
bufdev opened this issue Jan 3, 2018 · 0 comments
Closed

Multiple enum value options not allowed #48

bufdev opened this issue Jan 3, 2018 · 0 comments

Comments

@bufdev
Copy link
Contributor

bufdev commented Jan 3, 2018

This is valid per the Protobuf spec, but there is only one ValueOption *Option allowed on EnumFields. If you have this:

enum Something {
  SOMETHING_FOO = 0 [
    (bar.enum_value_option) = true,
    (bar.enum_value_dep_option) = { hello: 1 }
  ];
}

The error found "," but expected [option closing ]] is returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants