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

Add support for reserved keyword in enums. #712

Closed
wants to merge 2 commits into from

Conversation

plusvic
Copy link
Contributor

@plusvic plusvic commented Feb 16, 2024

The reserved keyword was supported for messages but not for enums. Also used this opportunity to remove the FieldNumberRange type and use RangeInclusive instead, as proposed by a TODO comment in the existing code.

Closes #671

The `reserved` keyword was supported for messages but not for enums. Also, used this opportunity to remove the `FieldNumberRange` type and use `RangeInclusive` instead, as proposed by a `TODO` comment in the existing code.
@stepancheg
Copy link
Owner

Merged. Thanks!

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

Successfully merging this pull request may close these issues.

No support for "reserved" keyword in enum
2 participants