Selection Set
SelectionSet describes a type-safe interface to querying and transforming a GraphQL selection set.
Inheritors
Types
Link copied to clipboard
A marker object that defines a SelectionSet for a type that does not support selections. NoSelections can be used in places where a SelectionSet is required but cannot be defined.
Functions
Link copied to clipboard
Link copied to clipboard
Returns the schema field coordinates selected directly at this selection set's current level.
Link copied to clipboard
abstract fun <U : T, R : CompositeOutput> selectionSetFor(field: CompositeField<U, R>): SelectionSet<R>
Return a SelectionSet describing the selections at the provided field. If the current SelectionSet does not include the provided field, then an empty SelectionSet will be returned.