GQLDirectiveDefinition

class GQLDirectiveDefinition(val sourceLocation: SourceLocation? = null, val description: String?, val name: String, val arguments: List<GQLInputValueDefinition>, val repeatable: Boolean, val locations: List<GQLDirectiveLocation>) : GQLDefinition, GQLDescribed, GQLNamed

Parameters

name

the name of the directive without the '@'

Constructors

Link copied to clipboard
constructor(sourceLocation: SourceLocation? = null, description: String?, name: String, arguments: List<GQLInputValueDefinition>, repeatable: Boolean, locations: List<GQLDirectiveLocation>)

Types

Link copied to clipboard
object Companion

Properties

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

The children of this node.

Link copied to clipboard
open override val description: String?
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val sourceLocation: SourceLocation? = null

Functions

Link copied to clipboard
fun copy(sourceLocation: SourceLocation? = this.sourceLocation, description: String? = this.description, name: String = this.name, arguments: List<GQLInputValueDefinition> = this.arguments, repeatable: Boolean = this.repeatable, locations: List<GQLDirectiveLocation> = this.locations): GQLDirectiveDefinition
Link copied to clipboard
open override fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode

Internal-only. Copies this code using the given children

Link copied to clipboard
Link copied to clipboard
fun GQLNode.toUtf8(indent: String = " "): String
fun GQLNode.toUtf8(sink: BufferedSink, indent: String = " ")
Link copied to clipboard
Link copied to clipboard
open override fun writeInternal(writer: SDLWriter)

Internal-only. Copies this code using the given children