smithy-lang / smithy-kotlin

Smithy code generator for Kotlin (in development)
Apache License 2.0
72 stars 26 forks source link

fix: correctly codegen maps which use nested maps that contain enum keys #1054

Closed ianbotsf closed 3 months ago

ianbotsf commented 3 months ago

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.