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

fix: Make operations correctly model service errors #1114

Merged
merged 10 commits into from
Sep 13, 2023

Conversation

sichanyoo
Copy link
Contributor

@sichanyoo sichanyoo commented Sep 5, 2023

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#581

Scope

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

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

Copy link
Contributor

@dayaffe dayaffe left a 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

@sichanyoo sichanyoo force-pushed the fix/make-operations-model-service-errors branch from b02fc8c to c29dd2e Compare September 12, 2023 00:09
Copy link
Contributor

@dayaffe dayaffe left a 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 :)

@sichanyoo sichanyoo force-pushed the fix/make-operations-model-service-errors branch from 0db429e to c29dd2e Compare September 12, 2023 21:12
@sichanyoo sichanyoo force-pushed the fix/make-operations-model-service-errors branch from f476175 to ffd60cc Compare September 12, 2023 21:21
Copy link
Contributor

@dayaffe dayaffe left a comment

Choose a reason for hiding this comment

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

LGTM

@sichanyoo sichanyoo requested a review from jbelkins September 12, 2023 23:44
@awslabs awslabs deleted a comment from sichanyoo Sep 13, 2023
@awslabs awslabs deleted a comment from sichanyoo Sep 13, 2023
@awslabs awslabs deleted a comment from sichanyoo Sep 13, 2023
@awslabs awslabs deleted a comment from sichanyoo Sep 13, 2023
@awslabs awslabs deleted a comment from sichanyoo Sep 13, 2023
@sichanyoo sichanyoo merged commit 806ca22 into main Sep 13, 2023
10 checks passed
@sichanyoo sichanyoo deleted the fix/make-operations-model-service-errors branch September 13, 2023 15:59
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