-
|
Our team is encoutering an issue when generating types from schema if However, if we change the target language to Java instead of Kotlin, this issue doesn't occur. I have logged this issue in kotlinpoet which dgs-codegen uses for codegen. I'm wondering if anyone else has the same issue? We're using the Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I have just tested using dgs-federation-example by adding the following to schema.graphqls This will results the same error. |
Beta Was this translation helpful? Give feedback.
-
|
After further investigation it turns out there is no need to add |
Beta Was this translation helpful? Give feedback.
After further investigation it turns out there is no need to add
union _Entity = SomeEntityin the schema. The framework will automatically generate.