field

val field: CompiledField

Parameters

field

the field representing the object or for lists, the field representing the list. field.type is not always the type of the object. Especially, it can be any combination of com.apollographql.apollo.api.CompiledNotNullType and com.apollographql.apollo.api.CompiledListType. Use field.type.rawType() to access the type of the object. For interface fields, it will be the interface type, not concrete types.