FieldExecutionContext

Properties

Link copied to clipboard
abstract val objectValue: O

A value of O, 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.

Functions

Link copied to clipboard
abstract suspend fun getObjectValue(): O

Returns a synchronously-accessible version of objectValue where all selections have been eagerly resolved.