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

Instance Attribute Details

#default_valueString, ...

Returns A Ruby value to use if no other value is provided.

Returns:

  • (String, Integer, Float, Boolean, Array, NullValue)

    A Ruby value to use if no other value is provided



# File 'lib/graphql/language/nodes.rb', line 489

#nameString

Returns The identifier for this variable, without $.

Returns:

  • (String)

    The identifier for this variable, without $



# File 'lib/graphql/language/nodes.rb', line 415

#typeTypeName, ...

Returns The expected type of this value.

Returns:



# File 'lib/graphql/language/nodes.rb', line 431