Skip to content

Fixed reading of fields in generated classes #2

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

Merged
merged 2 commits into from
Apr 4, 2025
Merged

Conversation

dbusche
Copy link
Contributor

@dbusche dbusche commented Apr 4, 2025

The method "readField" is used by the command "set property". When the field is a repeated field, the new value is added to the existing list, which not intended.

dbusche added 2 commits April 4, 2025 17:15
The method "readField" is also used to update the value on a property
change. When the field is repeated, adding the elements is actually an
"add all" instaed of "set".
@haumacher haumacher merged commit 6490fc0 into msgbuf:main Apr 4, 2025
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