Module: GraphQL::Language::Nodes
- Defined in:
- lib/graphql/language/nodes.rb
Defined Under Namespace
Classes: AbstractNode, Argument, Directive, DirectiveDefinition, DirectiveLocation, Document, Enum, EnumTypeDefinition, EnumTypeExtension, EnumValueDefinition, Field, FieldDefinition, FragmentDefinition, FragmentSpread, InlineFragment, InputObject, InputObjectTypeDefinition, InputObjectTypeExtension, InputValueDefinition, InterfaceTypeDefinition, InterfaceTypeExtension, ListType, NameOnlyNode, NonNullType, NullValue, ObjectTypeDefinition, ObjectTypeExtension, OperationDefinition, ScalarTypeDefinition, ScalarTypeExtension, SchemaDefinition, SchemaExtension, TypeName, UnionTypeDefinition, UnionTypeExtension, VariableDefinition, VariableIdentifier, WrapperType
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier of the fragment to apply, corresponds with FragmentDefinition#name. 
- 
  
    
      #type  ⇒ String? 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name of the type this fragment applies to, or nilif this fragment applies to any type.
Instance Attribute Details
#name ⇒ String
Returns The identifier of the fragment to apply, corresponds with GraphQL::Language::Nodes::FragmentDefinition#name.
|  | # File 'lib/graphql/language/nodes.rb', line 422
 | 
#type ⇒ String?
Returns Name of the type this fragment applies to, or nil if this fragment applies to any type.
|  | # File 'lib/graphql/language/nodes.rb', line 436
 |