smithy-lang / smithy-kotlin

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

fix: differentiate between string enum and int enum in client correction #1069

Closed lauzadis closed 2 months ago

lauzadis commented 2 months ago

Int enums will have an SdkUnknown generated with a String value of "no value provided", which fails to compile. This PR separates the logic handling string enums and int enums.

Issue \

Internal issue

Description of changes

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