CompositeField

interface CompositeField<P : GRT?, T : GRT?> : Field<P> (source)

Describes a GraphQL field whose unwrapped type is another GRT.

Parameters

<P>

the GRT on which the field is defined

<T>

the field's type with list and nullability wrappers removed

Inheritors

Functions

Link copied to clipboard
abstract fun getType(): Type<T>
Returns the descriptor of the field's unwrapped type.
Link copied to clipboard
open fun <P : GRT?, T : GRT?> of(name: String, containingType: Type<P>, type: Type<T>): CompositeField<P, T>
Creates a descriptor for a field whose unwrapped type is another GRT.