We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given a model such as:
union Foo { list: BarList } list BarList { member: Bar } string Bar
The generated code will make no attempt to differentiate between the union member Foo.List and the collection kotlin.collections.List:
Foo.List
kotlin.collections.List
public sealed class Foo { public data class List(val value: List<kotlin.String>) : Foo () { // Compilation error: `List` has no generic args } }
We need smarter handling of Kotlin symbols when codegenning union members (and possibly elsewhere too).
Shapes should codegen and compile successfully
Compilation fails
See above model
No response
1.2.18
JVM
(n/a)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Given a model such as:
The generated code will make no attempt to differentiate between the union member
Foo.List
and the collectionkotlin.collections.List
:We need smarter handling of Kotlin symbols when codegenning union members (and possibly elsewhere too).
Expected behavior
Shapes should codegen and compile successfully
Current behavior
Compilation fails
Steps to Reproduce
See above model
Possible Solution
No response
Context
No response
Smithy-Kotlin version
1.2.18
Platform (JVM/JS/Native)
JVM
Operating system and version
(n/a)
The text was updated successfully, but these errors were encountered: