GQLOperationTypeDefinition

data class GQLOperationTypeDefinition(    val sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     val operationType: String,     val namedType: String) : GQLNode

Parameters

operationType

one of "query", "mutation", "subscription"

namedType

the name of the root object type, i.e. "Query", ...

Constructors

Link copied to clipboard
fun GQLOperationTypeDefinition(    sourceLocation: SourceLocation = SourceLocation.UNKNOWN,     operationType: String,     namedType: String)

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 namedType: String
Link copied to clipboard
val operationType: String
Link copied to clipboard
open override val sourceLocation: SourceLocation