Client API Codegen for kotlin to generated Javacode Issue #467
Unanswered
parkinyoung
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I don't think you need to add a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
When I was update "com.netflix.dgs.codegen" version to "5.0.2" and generatedClient option change to true for JUnit testing in kotlin project
I found Client API code generated to java code. and I saw Netflix/dgs-codegen#166 PR
In my project, using scalar Long type(with graphql-dgs-extended-scalars) and add typeMapping "Long" to "kotlin.Long"
When using version 4.6.x, it working well. Because generated code type is kotlin.
If add typeMapping "Long" to "java.lang.Long", All kotlin data class types that have Long type are changed to java.long
What can I do? Is it only way to divide module?
Beta Was this translation helpful? Give feedback.
All reactions