apollo-kotlin
3.8.2
common
apollo-api
/
com.apollographql.apollo3.api.test
/
TestResolver
Test
Resolver
common
@
ApolloExperimental
interface
TestResolver
Content copied to clipboard
Implement
TestResolver
to generate fake data during tests.
Functions
Inheritors
Functions
resolve
Link copied to clipboard
common
abstract
fun
<
T
>
resolve
(
responseName
:
String
,
compiledType
:
CompiledType
,
enumValues
:
List
<
String
>
,
ctors
:
Array
<
out
(
)
->
Map
<
String
,
Any
?
>
>
?
)
:
T
Content copied to clipboard
Resolve the given field
Inheritors
DefaultTestResolver
Link copied to clipboard