apollo-kotlin
3.8.2
common
apollo-api
/
com.apollographql.apollo3.api.test
/
DefaultTestResolver
Default
Test
Resolver
common
@
ApolloExperimental
open
class
DefaultTestResolver
:
TestResolver
Content copied to clipboard
Constructors
Functions
Constructors
Default
Test
Resolver
Link copied to clipboard
common
fun
DefaultTestResolver
(
)
Content copied to clipboard
Functions
resolve
Link copied to clipboard
common
open
override
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
resolve
Boolean
Link copied to clipboard
common
open
fun
resolveBoolean
(
path
:
List
<
Any
>
)
:
Boolean
Content copied to clipboard
resolve
Composite
Link copied to clipboard
common
open
fun
resolveComposite
(
path
:
List
<
Any
>
,
ctors
:
Array
<
out
(
)
->
Map
<
String
,
Any
?
>
>
)
:
Map
<
String
,
Any
?
>
Content copied to clipboard
resolve
Custom
Scalar
Link copied to clipboard
common
open
fun
resolveCustomScalar
(
path
:
List
<
Any
>
)
:
String
Content copied to clipboard
resolve
Enum
Link copied to clipboard
common
open
fun
resolveEnum
(
path
:
List
<
Any
>
,
enumValues
:
List
<
String
>
)
:
String
Content copied to clipboard
resolve
Float
Link copied to clipboard
common
open
fun
resolveFloat
(
path
:
List
<
Any
>
)
:
Double
Content copied to clipboard
resolve
Int
Link copied to clipboard
common
open
fun
resolveInt
(
path
:
List
<
Any
>
)
:
Int
Content copied to clipboard
resolve
List
Size
Link copied to clipboard
common
open
fun
resolveListSize
(
path
:
List
<
Any
>
)
:
Int
Content copied to clipboard
resolve
String
Link copied to clipboard
common
open
fun
resolveString
(
path
:
List
<
Any
>
)
:
String
Content copied to clipboard