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 inconsistent ordering with json and proto marshaling #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dmcgowan
Copy link
Member

Added test which fails without this change on a basic marshal/unmarshal

Fixes #47

Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Derek McGowan <derek@mcg.dev>
@AkihiroSuda
Copy link
Member

Needs rebase

Comment on lines +164 to +165
case gogoproto.Message:
a.value, err = gogoproto.Marshal(t)
Copy link
Member

Choose a reason for hiding this comment

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

This one should probably only be fore the v2.2 branch, or if this patch is not super important, we could just drop this (and don't have this patch for v2.2.x?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Reviewers
Development

Successfully merging this pull request may close these issues.

TypeURL behavior is inconsistent with MarshalAny
3 participants