-
-
Notifications
You must be signed in to change notification settings - Fork 90
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 bug in decoding multi-object MsgPack types #984
Conversation
59c276a
to
2e52bcb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reverted the workarounds, added two assertions for divisibility without rest of size and spread, and added further unit tests that cover more type combinations.
It turns out that vector_type{port_type}
is fixed, but vector_type{subnet_type}
is still broken for MessagePack-encoded table slices. Nesting container types does not work for any of the table slice types, so I'm assuming this is a more general issue with the builders.
Please take another look at nesting subnets into vectors @mavam.
4d089b8
to
38b4c5a
Compare
Note: this fails for MessagePack-encoded table slices currently.
517ede3
to
2b1b93b
Compare
2b1b93b
to
9be36e5
Compare
9be36e5
to
7538ecb
Compare
For the review: note that this is a breaking change for both MessagePack-encoded table slices in the archive and the persisted type-registry state. |
Dismissing my own review since I took the PR over.
Great. You can "self-approve" this and merge! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving after peer-review w/ @mavam.
No description provided.