-
Notifications
You must be signed in to change notification settings - Fork 80
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
fix: Make operations correctly model service errors #1114
Conversation
…izers for operation errors are being made.
...ithy/aws/swift/codegen/ec2query/httpResponse/AWSEc2QueryHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...software/amazon/smithy/aws/swift/codegen/awsjson/AWSJsonHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
…g for all changed protocols.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please apply comments across protocols where they may also apply
...software/amazon/smithy/aws/swift/codegen/awsjson/AWSJsonHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...software/amazon/smithy/aws/swift/codegen/awsjson/AWSJsonHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...software/amazon/smithy/aws/swift/codegen/awsjson/AWSJsonHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...smithy/aws/swift/codegen/awsrestjson/AWSRestJson1HttpResponseBindingErrorGeneratableTests.kt
Outdated
Show resolved
Hide resolved
...software/amazon/smithy/aws/swift/codegen/awsjson/AWSJsonHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...ithy/aws/swift/codegen/ec2query/httpResponse/AWSEc2QueryHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...ithy/aws/swift/codegen/ec2query/httpResponse/AWSEc2QueryHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
b02fc8c
to
c29dd2e
Compare
...software/amazon/smithy/aws/swift/codegen/awsjson/AWSJsonHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
...ithy/aws/swift/codegen/ec2query/httpResponse/AWSEc2QueryHttpResponseBindingErrorGenerator.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix formatting on chained operations :)
0db429e
to
c29dd2e
Compare
f476175
to
ffd60cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #
Addresses the Issue #1080
Description of changes
Adds code generation for a helper method
makeService
that handles service errors to AWS protocols.Corresponding PR in
smithy-swift
: smithy-lang/smithy-swift#581Scope
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.