Skip to content

fix: improve error messages when validating extensions #371

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

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

lance
Copy link
Member

@lance lance commented Nov 25, 2020

This commit changes the messages produced when validating extension names and
values, including the offending name or value in the message, and including
text from the CloudEvent specification, or a link to the type system.

Fixes: #364

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

This commit changes the messages produced when validating extension names and
values, including the offending name or value in the message, and including
text from the CloudEvent specification, or a link to the type system.

Fixes: cloudevents#364

Signed-off-by: Lance Ball <[email protected]>
@lance lance added the type/enhancement New feature or request label Nov 25, 2020
@lance lance requested a review from a team November 25, 2020 18:47
@lance lance self-assigned this Nov 25, 2020
@lance lance merged commit 9f86cfd into cloudevents:main Nov 30, 2020
@lance lance deleted the 364-improved-error-messages branch November 30, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CloudEvent Constructor Validation Error Too Generic
2 participants