Elizeu Silva dos Santos
12/11/2022, 4:55 PMdata class A (
val id: String,
val b: B
)
enum class B{
AA, BB, CC
}
Trying to run the app I have the following error: Exception in thread "main" com.apurebase.kgraphql.schema.SchemaException: Cannot handle enum class class com.example.B as Object type
. Does someone know how to solve it?Dariusz Kuc
12/12/2022, 6:49 PMElizeu Silva dos Santos
12/14/2022, 8:22 AMAndres
01/11/2023, 6:53 PMfun SchemaBuilder.someSchema() {
enum<B>()
mutation("someMutationThatUsesEnum") {
...
Andres
01/11/2023, 6:54 PM