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

No support for enums 'allow_alias' feature #111

Open
andresier opened this issue Jul 5, 2018 · 1 comment
Open

No support for enums 'allow_alias' feature #111

andresier opened this issue Jul 5, 2018 · 1 comment

Comments

@andresier
Copy link

See: https://developers.google.com/protocol-buffers/docs/proto?csw=1#enum
Proto 2 - Language guide:

You can define aliases by assigning the same value to different enum constants. To do this you need to set the allow_alias option to true, otherwise protocol compiler will generate an error message when aliases are found.

Using: Version 2.4.1.555 (current)
When I attempt to include such an option in my proto, I get the following error:
test.proto(150, 10): error CS9999: Option "allow_alias" unknown.

I suspect this is a known issue, but I saw no mention of it on the current issue list. Thanks.

@jskeet
Copy link
Owner

jskeet commented Jul 5, 2018

As per the top-level readme, this project hasn't attempted to keep up with the newer features of protobuf. It's effectively a legacy project, but you're welcome to fork it if you wish.

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