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

codegen: Ensure API structs don't collide with API client type name #3651

Merged
merged 1 commit into from
Nov 24, 2020

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Nov 23, 2020

Updates the SDK's code generation to renames structures that collide with the service's API client struct name.

For example, service Foo, has struct shape named Foo. The API client type would be generated as Foo, and the colliding struct shape would be renamed to Foo_, with a trailing underscore(_).

Updates the SDK's code generation to renames structures that collide
with the service's API client struct name.

For example, service Foo, has struct shape named Foo. The API client
type would be generated as Foo, and the colliding struct shape would be
renamed to Foo_, with a trailing underscore(_).
@jasdel jasdel merged commit 8e5531c into aws:master Nov 24, 2020
@jasdel jasdel deleted the codege/FixupCollisions branch November 24, 2020 16: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.

None yet

3 participants