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 handling of optional bytes in proto3 #76

Merged
merged 5 commits into from
Jan 27, 2023
Merged

Fix handling of optional bytes in proto3 #76

merged 5 commits into from
Jan 27, 2023

Conversation

vmg
Copy link
Member

@vmg vmg commented Jan 27, 2023

Fixes #65

The new optional semantics for Proto3 can be a bit tricky to get right. Bytes definitely need special handling.

Signed-off-by: Vicent Marti <vmg@strn.cat>
Signed-off-by: Vicent Marti <vmg@strn.cat>
Signed-off-by: Vicent Marti <vmg@strn.cat>
Signed-off-by: Vicent Marti <vmg@strn.cat>
Signed-off-by: Vicent Marti <vmg@strn.cat>
@vmg vmg merged commit 96ede25 into main Jan 27, 2023
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.

Marshalling of optional empty byte is different from proto.Marshal
1 participant