Hi!
Please, it is possible to change name of ENUM while generating graphql schema?
In my case, I need to have enum name like this
name
(lowercase). Kotlin does not support this naming, because
Conflicting declarations: enum entry name, public final val name: String
. So, I want to name it with UPPERCASE and then generate enum names to GraphQL schema as lowercase (example below). I tried to use
@GraphQLName
, but
it doesn't work with ENUM classes 😞
enum class ApplicantsUpdateColumn {
@GraphQLName("id")
ID,
@GraphQLName("data")
DATA,
@GraphQLName("name")
NAME //I want to have this as lowercase "name"
}