-
-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The documentation https://github.com/kobylynskyi/graphql-java-codegen/blob/main/docs/codegen-options.md says:
Choose which language you want to generate, Java,Scala,Kotlin were supported.
However, the plugin is case-sensitive and the name of the languages must be in UPPERCASE, otherwise you get an error:
<configuration>
<generatedLanguage>Kotlin</generatedLanguage>
</configuration>
Unable to parse configuration of mojo io.github.kobylynskyi:graphql-codegen-maven-plugin:5.10.0:generate:
Cannot convert 'Kotlin' to Enum:
No enum constant com.kobylynskyi.graphql.codegen.model.GeneratedLanguage.Kotlin
When I change the configuration to
<configuration>
<generatedLanguage>KOTLIN</generatedLanguage>
</configuration>
it works.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working