GQLVariableDefinition

data class GQLVariableDefinition(    val sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     val name: String,     val type: GQLType,     val defaultValue: GQLValue?,     val directives: List<GQLDirective>) : GQLNode

A variable definition is very similar to an InputValue definition except it doesn't have a description

Constructors

Link copied to clipboard
fun GQLVariableDefinition(    sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     name: String,     type: GQLType,     defaultValue: GQLValue?,     directives: List<GQLDirective>)

Functions

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

Internal-only. Copies this code using the given children

Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children

Properties

Link copied to clipboard
open override val children: List<GQLNode>

The children of this node.

Link copied to clipboard
val defaultValue: GQLValue?
Link copied to clipboard
val directives: List<GQLDirective>
Link copied to clipboard
val name: String
Link copied to clipboard
open override val sourceLocation: SourceLocation
Link copied to clipboard
val type: GQLType