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 to Smithy 1.12.0 #448

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Conversation

adamthom-amzn
Copy link
Contributor

Description of changes:
Even though smithy-ts technically would move automatically to Smithy 1.12.0,
this bumps up the minimum version in order to ensure the new getErrors method
on OperationIndex will be available at compile time. Discovery of operation
errors globally uses OperationIndex.getErrors(Operation, Service) in order
to support service-bound errors, which were introduced in 1.12.0.

Tested this by regenerating the JS SDK v3 and running protocol tests locally. PR for that repo to fast follow.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Even though smithy-ts technically would move automatically to Smithy 1.12.0,
this bumps up the minimum version in order to ensure the new getErrors method
on OperationIndex will be available at compile time. Discovery of operation
errors globally uses OperationIndex.getErrors(Operation, Service) in order
to support service-bound errors, which were introduced in 1.12.0.
@adamthom-amzn adamthom-amzn requested review from JordonPhillips, gosar and a team October 7, 2021 21:59
@AllanZhengYP AllanZhengYP merged commit 105def5 into smithy-lang:main Oct 7, 2021
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
Even though smithy-ts technically would move automatically to Smithy 1.12.0,
this bumps up the minimum version in order to ensure the new getErrors method
on OperationIndex will be available at compile time. Discovery of operation
errors globally uses OperationIndex.getErrors(Operation, Service) in order
to support service-bound errors, which were introduced in 1.12.0.
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