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

V2: Fix create() with wrapper oneof field #889

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

timostamm
Copy link
Member

A field using one of the message from google/protobuf/wrappers.proto is automatically "unboxed" to it's primitive in generated code.

This is only the case for plain fields (not repeated, not in a map, not in a oneof), but create() erroneously applies the logic to wrapper fields in oneof groups.

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