Hi people, I'm new in KGraphQL and I have the sam...
# kgraphql
n
Hi people, I'm new in KGraphQL and I have the same problem that Tomas Kormanak solved... My problem is that I can't understand how he solved it.
My case:
Copy code
mutation("bookAppointment") {
                resolver {
                        day: LocalDate,
                        player: Player,
                    ->
                    return@resolver "It worked!"
                }
            }
Copy code
data class Player (
    val id: String?,
)
error:
Copy code
{
  "error": "Introspection must provide output type for fields, but received: Player!."
}
I solved it! I now understand Tomas answer, one of my query response types, had a Player parameter type, so Player was a Type and an Input Type, (input and output)... btw I don't know why that is a problem... but solved