8000 add some info about extension attributes by duglin · Pull Request #1335 · cloudevents/spec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add some info about extension attributes #1335

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

duglin
Copy link
Collaborator
@duglin duglin commented Apr 17, 2025

Fixes #1014

OPTIONAL CloudEvent extension context attributes XML elements. From an XSD
perspective, this is the equivalent of there being an
`<xs:any minOccurs="0"/>` element defined as a sibling to the other
CloudEvent context attribute XML elements.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the only real change in the PR. The rest of it was just pretty-printing things to wrap at 80 columns

Copy link
Contributor

Choose a reason for hiding this comment

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

I think "optional" is confusing here - it suggests that any "required" CloudEvent extension context attributes aren't included here. In the context of extensions, "required" only means "required if you're using the extension" (see our deprecation extension for an example).

I think we should just remove OPTIONAL here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done!

Fixes cloudevents#1014

Signed-off-by: Doug Davis <duglin@gmail.com>
Copy link
Contributor
@jskeet jskeet left a comment

Choose a reason for hiding this comment

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

Thanks :)

@duglin
Copy link
Collaborator Author
duglin commented Apr 30, 2025

on hold - waiting for @JemDay to propose some alternative text

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.

Named Element 'ExtensionAttributes' of Type any
2 participants
0