Class: GraphSQL::Resolver::NestedAssociation

Inherits:
Data
  • Object
show all
Defined in:
lib/graphsql/resolver.rb

Overview

A requested association whose target type also declares GraphSQL mappings, paired with the reflection needed to preload it safely and the nested lookahead needed to know which of ITS fields were selected.

Instance Attribute Summary collapse

Instance Attribute Details

#lookaheadObject (readonly)

Returns the value of attribute lookahead

Returns:

  • (Object)

    the current value of lookahead



8
9
10
# File 'lib/graphsql/resolver.rb', line 8

def lookahead
  @lookahead
end

#mappingObject (readonly)

Returns the value of attribute mapping

Returns:

  • (Object)

    the current value of mapping



8
9
10
# File 'lib/graphsql/resolver.rb', line 8

def mapping
  @mapping
end

#reflectionObject (readonly)

Returns the value of attribute reflection

Returns:

  • (Object)

    the current value of reflection



8
9
10
# File 'lib/graphsql/resolver.rb', line 8

def reflection
  @reflection
end

#target_typeObject (readonly)

Returns the value of attribute target_type

Returns:

  • (Object)

    the current value of target_type



8
9
10
# File 'lib/graphsql/resolver.rb', line 8

def target_type
  @target_type
end