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
If for some reason the graphQL type name provided by the server side starts with a non-capital letter (lower-case letter or a special symbol like underscore), the DGS plugin fails to generate code in Kotlin language, though it works fine with Java.
The error as follows:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':my:task:generateJava'.
couldn't make a guess for com.my.package.typeStartingWithNonCapitalLetter
Expected behavior: Kotlin code is generated successfully in case of types that start with non-capital letter.
The text was updated successfully, but these errors were encountered:
kkuribko
changed the title
Kotlin code generation fails when type names start with non-capital letter
Kotlin code generation fails when type name start with non-capital letter
Jan 7, 2025
If for some reason the graphQL type name provided by the server side starts with a non-capital letter (lower-case letter or a special symbol like underscore), the DGS plugin fails to generate code in Kotlin language, though it works fine with Java.
The error as follows:
Expected behavior: Kotlin code is generated successfully in case of types that start with non-capital letter.
The text was updated successfully, but these errors were encountered: