-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
pluginswaiting-for-releaseFixed/resolved, and waiting for the next stable releaseFixed/resolved, and waiting for the next stable release
Description
| baseType: `${this.convertName(schemaType.name)}Input`, |
Hi, I am developing a Java / Kotlin solution. And my problem is that I can't use Input endings in my schema for the input types because codegen utility translates input type names into SomeNameInputInput.
So, generally speaking, it duplicates the Input ending.
Can you make this optional? Or add some logic that checks "if type ends with Input word, then do not add additional Input word"?
Steps to reproduce:
- Open
https://graphql-code-generator.com/ - Select
Java --> Types (Enum & Input)in dropdown - Put this in the textarea on the left side
input CreateUserInput {
userName: CreateUserNameInput
}
input CreateUserNameInput {
given: String!
family: String!
}- Find
CreateUserNameInputInputin the right side textarea
Metadata
Metadata
Assignees
Labels
pluginswaiting-for-releaseFixed/resolved, and waiting for the next stable releaseFixed/resolved, and waiting for the next stable release