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

Remove unknown proto2 enum values #363

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

jcking
Copy link
Collaborator

@jcking jcking commented Jun 27, 2024

C++ protobuf rejects unknown enum values in proto2, as proto2 enums are supposed to be closed. I believe Go/Java protobuf incorrectly accept these at the moment. This only affects textproto parsing. This PR removes these incompatible tests.

Signed-off-by: Justin King <jcking@google.com>
@jcking jcking requested a review from TristonianJones June 27, 2024 13:06
@jcking jcking merged commit 6b5ebe7 into google:master Jun 27, 2024
2 checks passed
@jcking jcking deleted the proto2-enum branch June 27, 2024 15:07
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.

2 participants