Skip to content

add proto test to confirm it is correct#784

Merged
n3wscott merged 1 commit intocloudevents:mainfrom
n3wscott:update-proto
Jul 19, 2022
Merged

add proto test to confirm it is correct#784
n3wscott merged 1 commit intocloudevents:mainfrom
n3wscott:update-proto

Conversation

@n3wscott
Copy link
Copy Markdown
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
Copy Markdown
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