SchemaIntrospection

Represents a __schema from the GraphQL introspection API. Allows getting information on the schema.

See also

Constructors

Link copied to clipboard
constructor(parent: QueryElement?)

Properties

Link copied to clipboard
open override val parent: QueryElement?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun field(name: String, init: Field.() -> Unit = {}): Field

Creates and register a Field as a child of the current QueryElement

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Generates the GraphQL string for the current element.

Link copied to clipboard
fun typename()

Gets the name of the current type of the current QueryElement. Equivalent to __typename.