Tomas Kormanak
03/18/2022, 3:51 PMIntrospection must provide output type for fields, but received: Address!.
Used data classes:
data class Address(
val label: String? = null,
val street: String? = null,
val city: String? = null,
)
data class ChangeAddress(
val userid:Id,
val address: Address,
)
Mutation is defined like this:
mutation("changeAddress") {
resolver { input: ChangeAddress, context: Context ->
// change the addresss.....
}
}
What could be the problem?Tomas Kormanak
03/22/2022, 10:17 AM