Skip to content

Fixed reading of fields in generated classes#2

Merged
haumacher merged 2 commits intomsgbuf:mainfrom
dbusche:main
Apr 4, 2025
Merged

Fixed reading of fields in generated classes#2
haumacher merged 2 commits intomsgbuf:mainfrom
dbusche:main

Conversation

@dbusche
Copy link
Collaborator

@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