# FieldExecutionContext

interface FieldExecutionContext<T : Object, Q : Query, A : Arguments, O : CompositeOutput> : ResolverExecutionContext(source)

An ExecutionContext provided to field resolvers

#### Inheritors

MutationFieldExecutionContext

## Properties

arguments
Link copied to clipboard
abstract val arguments: A

The value of any A arguments that were provided by the caller of this resolver. If this field does not take arguments, this is Arguments.NoArguments.

objectValue
Link copied to clipboard
abstract val objectValue: T

A value of T, with any (and only) selections from viaduct.api.Resolver.objectValueFragment populated. Attempting to access fields not declared in viaduct.api.Resolver.objectValueFragment will throw a runtime exception

queryValue
Link copied to clipboard
abstract val queryValue: Q

A value of Q, with any (and only) selections from viaduct.api.Resolver.queryValueFragment populated. Attempting to access fields not declared in viaduct.api.Resolver.queryValueFragment will throw a runtime exception

## Functions

selections
Link copied to clipboard
abstract fun selections(): SelectionSet<O>

The SelectionSet for O that the caller provided. If this field does not have a selection set (i.e. it has a scalar or enum type), this returns SelectionSet.NoSelections.