class NodeExtensionField(definition: ExtensionFieldDefinition, val dfe: DataFetchingEnvironment, val arguments: Map<String, Any>, onlyOnTypes: List<NodeDefinition>?, resultKeyPath: String) : NodeQueryEntry<ExtensionFieldDefinition>

Defines an extension field which should be loaded with a NodeQuery

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

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
open override val cost: Int

The cost of this entry

Link copied to clipboard
val dfe: DataFetchingEnvironment
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Checks if this entry affects the given node