RootFieldCall

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

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

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<*, T, Arguments>