GQLType

sealed class GQLType : GQLNode

Functions

Link copied to clipboard
abstract fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
abstract fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children

Properties

Link copied to clipboard
abstract val children: List<GQLNode>

The children of this node.

Link copied to clipboard
abstract val sourceLocation: SourceLocation

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun GQLType.leafType(): GQLNamedType
Link copied to clipboard
fun GQLType.pretty(): String
Link copied to clipboard
fun GQLType.rawType(): GQLNamedType

Returns the raw type. The raw type is the GQLNamedType without any list/nonnull wrapper types