class GraphQL::Language::Nodes::FieldDefinition
Attributes
arguments[RW]
description[RW]
directives[RW]
name[RW]
type[RW]
Public Instance Methods
children()
click to toggle source
# File lib/graphql/language/nodes.rb, line 464 def children arguments + directives end
initialize_node(name:, arguments:, type:, directives: [], description: nil)
click to toggle source
# File lib/graphql/language/nodes.rb, line 456 def initialize_node(name,, arguments,, type,, directives: [], description: nil) @name = name @arguments = arguments @type = type @directives = directives @description = description end
scalars()
click to toggle source
# File lib/graphql/language/nodes.rb, line 468 def scalars [name, type] end