Nick
08/17/2021, 9:06 AMwrap
? I’m specifically trying to harness it for Authentication purposes but I can’t seem to figure it out.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?jeggy
05/31/2022, 7:38 PMitzik kasovitch
06/20/2022, 2:19 PMFailed to coerce
exception. So the input type would be:
sealed class Base {
data class Leaf(val prop: Int): Base()
data class Composite(val prop: List<Base>): Base()
}
I tried different kind of kotlinx.serialization annotations to make it work but it seems like behind the scenes it failed since Jackson is used. Also when I try to use the base as an inputType
I get an error that it doesn't have any fields. I also tried to use the derived classes as inputType
. Without success.
Last, in the examples I can only see something which returns a unionType (not something the accepts a unionType).itzik kasovitch
06/27/2022, 7:38 PMitzik kasovitch
06/28/2022, 9:44 AMitzik kasovitch
06/28/2022, 9:48 AMitzik kasovitch
06/28/2022, 9:49 AMjeggy
06/28/2022, 9:50 AMjeggy
06/28/2022, 9:55 AMitzik kasovitch
06/28/2022, 9:56 AMjeggy
06/28/2022, 10:07 AMmaaxgr
07/17/2022, 1:43 PMWyatt Kennedy
08/19/2022, 11:30 PMRichard Prince
11/22/2022, 9:41 AMNahuel Ourthe
12/01/2022, 11:40 PMLukáš Kúšik
12/31/2022, 10:16 AMwrapErrors
in GraphQL.Configuration
) but also log them into the console at the same time (behaviour with wrapErrors
set to false)?Andres
01/13/2023, 2:00 PMNahuel Ourthe
01/17/2023, 12:01 AM0.18.1
of kgraphql, I have to downgrade to 0.18.0
to use it.Tiago Nunes
02/06/2023, 6:11 PMTiago Nunes
02/07/2023, 5:32 PMIlya Nothen
02/26/2023, 11:47 AM