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

By default, do not restrict the length of extension attribute names #678

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

deissnerk
Copy link
Contributor

I introduced a global variable MaxExtensionNameLength in package event, which by default is 0. If you prefer other mechanisms to globally set this value, please let me know.

As I wanted to focus on #670, I kept the changes minimal. I think that some of the functions would belong into different files now. E.g. SetExtension() could now go into eventcontext_v1_writer.go, and extension.go is not really needed as a separate file.

Signed-off-by: Klaus Deissner klaus.deissner@sap.com

Signed-off-by: Klaus Deissner <klaus.deissner@sap.com>
Copy link
Member

@n3wscott n3wscott left a comment

Choose a reason for hiding this comment

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

LGTM

@n3wscott n3wscott merged commit c5f062f into cloudevents:main Apr 13, 2021
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