Field

interface Field<P : GRT?>(source)

Describes static properties of a GraphQL field.

Parameters

<P>

the GRT on which the field is defined

Inheritors

Functions

Link copied to clipboard
abstract fun getContainingType(): Type<P>
Returns the descriptor of the type on which this field is defined.
Link copied to clipboard
abstract fun getName(): String
Returns the GraphQL name of this field.
Link copied to clipboard
open fun <P : GRT?> of(name: String, containingType: Type<P>): Field<P>
Creates a descriptor for a scalar field.