GQLValue

sealed class GQLValue : GQLNode

Functions

copyWithNewChildrenInternal
Link copied to clipboard
abstract fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode
Internal-only.
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.
sourceLocation
Link copied to clipboard
abstract val sourceLocation: SourceLocation

Inheritors

GQLVariableValue
Link copied to clipboard
GQLIntValue
Link copied to clipboard
GQLFloatValue
Link copied to clipboard
GQLStringValue
Link copied to clipboard
GQLBooleanValue
Link copied to clipboard
GQLEnumValue
Link copied to clipboard
GQLListValue
Link copied to clipboard
GQLObjectValue
Link copied to clipboard
GQLNullValue
Link copied to clipboard

Extensions

coerceInExecutableContextOrThrow
Link copied to clipboard
fun GQLValue.coerceInExecutableContextOrThrow(expectedType: GQLType, schema: Schema): GQLValue
For a GQLValue used in input position, validate that it can be coerced to expectedType and coerce it at the same time.
coerceInSchemaContextOrThrow
Link copied to clipboard
fun GQLValue.coerceInSchemaContextOrThrow(expectedType: GQLType, schema: Schema): GQLValue
For a GQLValue used in input position, validate that it can be coerced to expectedType and coerce it at the same time.