-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ProtoReflect().GetUnknown()
Not Working
#1618
Comments
You’re explicitly telling |
@puellanivis that field has no impact on the length of |
This seems related to: #1390 Right now, there’s no defined way to know the wire format for these unknown JSON fields, so they cannot be rendered into the |
Unknown fields are only preserved in the binary encoding. Setting |
What version of protobuf and what language are you using?
v1.5.4
What did you do?
What did you expect to see?
I expected the assertions to pass and there to be one unknown item.
What did you see instead?
The last assertion failed. The actual length is 0.
The text was updated successfully, but these errors were encountered: