Directive

data class Directive(type: Directive.DirectiveType, condition: String) : QueryComponent

Represents a directive for use in a field

See also

Constructors

Link copied to clipboard
constructor(type: Directive.DirectiveType, condition: String)

Types

Link copied to clipboard

Types of supported directives

Functions

Link copied to clipboard
open override fun toString(): String

Generate the directive to be added