resolve
open override fun <T> resolve(responseName: String, compiledType: CompiledType, enumValues: List<String>, ctors: Array<out () -> Map<String, Any?>>?): T
Resolve the given field
Return
T the Kotlin value for the field. Can be Int, Double, String, List
Parameters
response Name
the name of the field as seen in the json
compiled Type
the GraphQL type of the field
enum Values
if compiledType is an enum, the list of possible values
ctors
if compiledType is a composite type or any non-null or list combination of a composite type, ctors contain a list of constructors for the possible shapes