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: correctly codegen maps which use nested maps that contain enum keys #1054

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

ianbotsf
Copy link
Contributor

Issue #

Missed in #1052 which addresses #1045

Description of changes

Correctly handle nested maps in codegen. (e.g., Map<OuterEnumType, Map<InnerEnumType, String>>) and add a unit test to verify.

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

@ianbotsf ianbotsf added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Mar 18, 2024
@ianbotsf ianbotsf merged commit 8c1fd78 into main Mar 18, 2024
15 checks passed
@ianbotsf ianbotsf deleted the fix-nested-map-enum-keys branch March 18, 2024 18:21
tkhill-AWS pushed a commit to tkhill-AWS/smithy-kotlin that referenced this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants