Skip to content

Conversation

lance
Copy link
Member

@lance lance commented Jun 14, 2022

Previously we only considered Uint32Array binary data. This was an oversight. This fixes that issue.

Fixes: #491

Signed-off-by: Lance Ball [email protected]

Previously we only considered `Uint32Array` binary data. This was an
oversight. This fixes that issue.

Fixes: cloudevents#491

Signed-off-by: Lance Ball <[email protected]>
@lance lance added the type/fix A change that fixes something that is broken label Jun 14, 2022
@lance lance requested a review from a team June 14, 2022 19:32
@lance lance self-assigned this Jun 14, 2022
Signed-off-by: Lance Ball <[email protected]>
@lance
Copy link
Member Author

lance commented Jun 14, 2022

Closing and reopening to pick up changes to package.json in CI and hopefully resolve CI errors.

@lance lance closed this Jun 14, 2022
@lance lance reopened this Jun 14, 2022
@lance
Copy link
Member Author

lance commented Jun 14, 2022

Updated with your suggestions @grant and CI is passing. PTAL

@lance lance changed the title fix: allow Uint16|8Array for binary data fix: allow TypedArray for binary data Jun 14, 2022
Copy link
Member

@grant grant left a comment

Choose a reason for hiding this comment

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

LGTM

@lance lance merged commit 921e273 into cloudevents:main Jun 15, 2022
@lance lance deleted the lance-491-is-binary branch June 15, 2022 04:51
@lance lance restored the lance-491-is-binary branch May 8, 2023 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix A change that fixes something that is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Non Uint32Array binary data does not set the CloudEvent's data_base64 value
2 participants