constructor(definition: ExtensionFieldDefinition, dfe: DataFetchingEnvironment, arguments: Map<String, Any>, onlyOnTypes: List<NodeDefinition>?, resultKeyPath: String)

Parameters

definition

defines the extension field and provides the generator for the expression

dfe

the data fetching environment required to generate the expression

arguments

the arguments provided for this field

onlyOnTypes

a list of parent types on which this should be evaluated

resultKeyPath

path to the key which fetches this field