You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes the generated type to be Map<MyUnion.String, MyUnion> instead of the intended Map<kotlin.String, MyUnion>. Unions are already generated as fully qualified for similar issues we've seen in the past. It would seem we need to fully qualify generic bounds as well.
Expected Behavior
The map generic types need to be fully qualified as well:
Describe the bug
A model with a union type such as
Will generate a sealed class like this:
This causes the generated type to be
Map<MyUnion.String, MyUnion>
instead of the intendedMap<kotlin.String, MyUnion>
. Unions are already generated as fully qualified for similar issues we've seen in the past. It would seem we need to fully qualify generic bounds as well.Expected Behavior
The map generic types need to be fully qualified as well:
The text was updated successfully, but these errors were encountered: