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

add proto test to confirm it is correct #784

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

n3wscott
Copy link
Member

After much delay, I looked into #759 and concluded the go sdk is doing this correctly, and the java sdk is wrong. The output of a json marshaller is binary data, not a string, thus it should be stored in the binary field of the proto.

Signed-off-by: Scott Nichols <n3wscott@chainguard.dev>
@n3wscott
Copy link
Member Author

It is adding a test, tests passed. I will merge.

@n3wscott n3wscott merged commit 14755d1 into cloudevents:main Jul 19, 2022
@n3wscott n3wscott deleted the update-proto branch July 19, 2022 18:55
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.

1 participant