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

Make httpHeader value validation produce dangers #192

Merged
merged 2 commits into from
Oct 24, 2019

Conversation

JordonPhillips
Copy link
Contributor

This moves the validation for the value of the httpHeader trait to
the HttpHeaderTraitValidator and makes that validation a DANGER
instead of an ERROR so that it can be overridden if necesessary.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This moves the validation for the value of the httpHeader trait to
the HttpHeaderTraitValidator and makes that validation a DANGER
instead of an ERROR so that it can be overridden if necesessary.
Copy link
Member

@mtdowling mtdowling left a comment

Choose a reason for hiding this comment

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

Does this also need spec changes? I think we state in the spec that you can't use these headers at all.

@JordonPhillips JordonPhillips merged commit b914ce5 into smithy-lang:master Oct 24, 2019
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.

3 participants