Skip to content

Allow replacement of simple shape types in ModelTransformer#900

Merged
JordonPhillips merged 2 commits intosmithy-lang:mainfrom
jdisanti:transform-replace-simple-shapes
Sep 2, 2021
Merged

Allow replacement of simple shape types in ModelTransformer#900
JordonPhillips merged 2 commits intosmithy-lang:mainfrom
jdisanti:transform-replace-simple-shapes

Conversation

@jdisanti
Copy link
Copy Markdown
Contributor

Issue #, if available: No issue

Description of changes:

The AWS Rust SDK needs to customize S3's Size shape to be a LongShape instead of an IntegerShape so that larger files can be successfully represented in responses (see awslabs/aws-sdk-rust#209). This change updates ReplaceShapes to allow simple shape changes like this, as well as ListShape <-> SetShape changes.

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

Co-authored-by: Jordon Phillips <JordonPhillips@users.noreply.github.com>
@JordonPhillips JordonPhillips merged commit 5112fdd into smithy-lang:main Sep 2, 2021
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