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

Add warnings for ignored HTTP member bindings #1962

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Sep 1, 2023

This commit adds a new validator that emits a warning when a member has an HTTP member binding trait applied and its container is referenced through a relationship where it would be ignored.

Spec clarification of this behavior has been added.

Issue #, if available:
Resolves #1379
Resolves #1386

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

@kstich kstich force-pushed the http_validation branch 2 times, most recently from 108a0ca to 63bb8a8 Compare September 1, 2023 20:12
This commit adds a new validator that emits a warning when a member
has an HTTP member binding trait applied and its container is referenced
through a relationship where it would be ignored.

Spec clarification of this behavior has been added.
@kstich kstich merged commit 309862e into smithy-lang:main Sep 1, 2023
10 checks passed
@kstich kstich deleted the http_validation branch September 1, 2023 21:32
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants