RootFieldCall

Describes a root field and the arguments used to call it.

Generated root field methods return this value without executing the field. A resolver passes it to ref to create a lazy reference that the engine resolves later.

Parameters

<T>

the field's object output type

Functions

Link copied to clipboard
abstract fun arguments(context: ExecutionContext): Arguments
Builds the arguments the field is called with, using context to convert input values.
Link copied to clipboard
abstract fun field(): RootObjectField<out Any, T, out Arguments>