FieldExecutionContext

An ExecutionContext provided to field resolvers.

Parameters

<T>

The type of the object on which this field is being resolved

<Q>

The type of the Query root object

<A>

The type of the arguments for this field

<O>

The type of the output/selections for this field

Inheritors

Functions

Link copied to clipboard
abstract fun getArguments(): A
The value of any arguments that were provided by the caller of this resolver.
Link copied to clipboard
abstract fun getObjectValue(): T
A value of type T, with any (and only) selections from the resolver's object value fragment populated.
Link copied to clipboard
abstract fun getQueryValue(): Q
A value of type Q, with any (and only) selections from the resolver's query value fragment populated.