class GraphQL::Language::InputValueDefinition

Defined in:

graphql/language/nodes.cr

Constructors

Instance Method Summary

Instance methods inherited from class GraphQL::Language::ASTNode

children children, visit(block : ASTNode -> _) visit

Constructor Detail

def self.new(name : String, type : GraphQL::Language::ASTNode, default_value : GraphQL::Language::FValue, directives, description : Nil | String, **rest) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def children #

[View source]
def default_value : FValue #

def default_value=(default_value : FValue) #

def description : Union(String, Nil) #

def description=(description : Union(String, Nil)) #

def directives : Array(Directive) #

def directives=(directives : Array(Directive)) #

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

def name=(name : String) #

def type : Type #

def type=(type : Type) #