Class: GraphQL::Language::Nodes::FieldDefinition
- Inherits:
-
AbstractNode
- Object
- AbstractNode
- GraphQL::Language::Nodes::FieldDefinition
- Includes:
- DefinitionNode
- Defined in:
- lib/graphql/language/nodes.rb
Constant Summary
Constants inherited from AbstractNode
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
Attributes inherited from AbstractNode
Instance Method Summary collapse
Methods inherited from AbstractNode
#==, #children, #children_method_name, children_of_type, #delete_child, inherited, #initialize, #initialize_copy, #position, #replace_child, #scalars, #to_query_string
Constructor Details
This class inherits a constructor from GraphQL::Language::Nodes::AbstractNode
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
611 612 613 |
# File 'lib/graphql/language/nodes.rb', line 611 def description @description end |
Instance Method Details
#merge(new_options) ⇒ Object
622 623 624 625 626 627 |
# File 'lib/graphql/language/nodes.rb', line 622 def merge() if (f = .delete(:fields)) [:arguments] = f end super end |