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

Update @httpResponseCode to not be applicable to @input structures #1359

Conversation

syall
Copy link
Contributor

@syall syall commented Aug 18, 2022

Issue #, if available:

#1105


Description of changes:

Update @httpResponseCode to not be applicable to @input structures:

  • Changed the selector of @httpResponseCode to not select structures
    with the @input trait applied
  • Updated the docs for @httpResponseCode

Testing:

Ran ./gradlew clean build check assemble --parallel --no-build-cache --no-daemon


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

@syall syall requested a review from a team as a code owner August 18, 2022 08:33
@syall syall force-pushed the 1105-make-httpresponsecode-not-worked-with-httperror branch from 0cf0c0c to 4342e23 Compare August 18, 2022 09:18
@syall syall force-pushed the 1105-make-httpresponsecode-not-worked-with-httperror branch from 4342e23 to a07475a Compare August 25, 2022 23:11
- Changed the selector of `@httpResponseCode` to not select structures
  with the `@input` trait applied
- Updated the docs for `@httpResponseCode`
- Move `http-trait-conflicts` test to a `.smithy` file

Resolves smithy-lang#1105
@syall syall force-pushed the 1105-make-httpresponsecode-not-worked-with-httperror branch from a07475a to e0cd375 Compare August 26, 2022 17:23
@syall syall merged commit 7d42189 into smithy-lang:main Aug 26, 2022
@syall syall deleted the 1105-make-httpresponsecode-not-worked-with-httperror branch August 26, 2022 17:37
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