GQLTypeDefinition

sealed class GQLTypeDefinition : GQLDefinition, GQLNamed, GQLDescribed

Types

Companion
Link copied to clipboard
object Companion
This duplicates some of what's in "builtins.

Functions

copyWithNewChildrenInternal
Link copied to clipboard
abstract fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode
Internal-only.
isBuiltIn
Link copied to clipboard
fun isBuiltIn(): Boolean
writeInternal
Link copied to clipboard
abstract fun writeInternal(writer: SDLWriter)
Internal-only.

Properties

children
Link copied to clipboard
abstract val children: List<GQLNode>
The children of this node.
description
Link copied to clipboard
abstract val description: String?
name
Link copied to clipboard
abstract val name: String
sourceLocation
Link copied to clipboard
abstract val sourceLocation: SourceLocation

Inheritors

GQLInterfaceTypeDefinition
Link copied to clipboard
GQLObjectTypeDefinition
Link copied to clipboard
GQLInputObjectTypeDefinition
Link copied to clipboard
GQLScalarTypeDefinition
Link copied to clipboard
GQLEnumTypeDefinition
Link copied to clipboard
GQLUnionTypeDefinition
Link copied to clipboard

Extensions

isFieldNonNull
Link copied to clipboard
fun GQLTypeDefinition.isFieldNonNull(fieldName: String): Boolean
possibleTypes
Link copied to clipboard
fun GQLTypeDefinition.possibleTypes(schema: Schema): Set<String>