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 507
def children
  arguments + directives
end
initialize_node(name:, arguments:, type:, directives: [], description: nil) click to toggle source
# File lib/graphql/language/nodes.rb, line 499
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 511
def scalars
  [name, type]
end