Skip to content

Conversation

Cali0707
Copy link
Contributor

From the spec, the requirement for the length of attribute names is only a SHOULD, not a MUST. Currently, if the length is over 20 then the sdk throws an error, which I believe is incorrect because the length requirement is not a MUST.

Proposed Changes

  • When an event attribute has a name lonoger than 2o characters, the SDK does not throw an error anymore

Copy link
Contributor

@lholmquist lholmquist left a comment

Choose a reason for hiding this comment

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

LGTM.

@lholmquist lholmquist merged commit 6977113 into cloudevents:main Jul 22, 2024
@lholmquist
Copy link
Contributor

THanks, just released 8.0.2 with the fix

@Cali0707
Copy link
Contributor Author

Thanks @lholmquist !!

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.

2 participants