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

Fix map entry size computation for non-MessageMap maps #99

Merged
merged 2 commits into from
Oct 21, 2020

Conversation

garyp
Copy link
Collaborator

@garyp garyp commented Oct 21, 2020

The sizing code wasn't properly excluding default values that the encoding code ends up skipping.

Also added some tests for related map behavior that I ran into while fixing this.

garyp added 2 commits October 20, 2020 22:33
…en encoding

This helps to catch bugs and discrepancies between the `Sizer` code and
`BinaryMessageEncoder` code.
The sizing code wasn't properly excluding default values that the
encoding code ends up skipping.

Also added some tests for related map behavior that I ran into while
fixing this.
@garyp garyp merged commit a817fcc into master Oct 21, 2020
@garyp garyp deleted the fix-map-null-value-encoding branch October 21, 2020 22:22
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