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

setHasFlags() correctly handles PB repeated fields #491

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

mthiesen
Copy link
Contributor

@mthiesen mthiesen commented Sep 2, 2023

This PR fixes a problem with setHasFlags() discovered by @deeebug. Previously, the function did not correctly handle Protobuf repeated fields containing sub-messages. With this fix, the workaround of manually setting has_XXX flags is no longer necessary.

Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, fixes our has_xxxxx = issue in protobuf

@arntsonl arntsonl merged commit e057c61 into OpenStickCommunity:main Sep 2, 2023
52 checks passed
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.

None yet

2 participants