Closed ianbotsf closed 1 year ago
(none)
Enum shapes don't have correct defaults codegenned for them. For example, in a structure's builder class:
public var mode: aws.sdk.kotlin.services.neptunedata.model.GraphSummaryType? = "basic" // <-- compiler error
This change adds handling of defaults so that they're resolved correctly from the enum's members.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information 0.0% Duplication
Issue \
(none)
Description of changes
Enum shapes don't have correct defaults codegenned for them. For example, in a structure's builder class:
This change adds handling of defaults so that they're resolved correctly from the enum's members.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.