GQLValue

sealed class GQLValue : 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

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.

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.