class FieldFetchingContext(val arguments: Map<String, Any>, val selectionSet: DataFetchingFieldSelectionSet, val resultKeyPath: String)

Context for fetching entries in a node query

Parameters

arguments

for the current field

selectionSet

sub-selection for the current field

resultKeyPath

path to the current field

Constructors

Link copied to clipboard
constructor(arguments: Map<String, Any>, selectionSet: DataFetchingFieldSelectionSet, resultKeyPath: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val selectionSet: DataFetchingFieldSelectionSet

Functions

Link copied to clipboard
fun ofField(field: SelectedField): FieldFetchingContext

Creates a new FieldFetchingContext based on a field Assumes that field is a direct sub-field of the currently represented field