Class: GraphSQL::Resolver::NestedAssociation
- Inherits:
-
Data
- Object
- Data
- GraphSQL::Resolver::NestedAssociation
- 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
-
#lookahead ⇒ Object
readonly
Returns the value of attribute lookahead.
-
#mapping ⇒ Object
readonly
Returns the value of attribute mapping.
-
#reflection ⇒ Object
readonly
Returns the value of attribute reflection.
-
#target_type ⇒ Object
readonly
Returns the value of attribute target_type.
Instance Attribute Details
#lookahead ⇒ Object (readonly)
Returns the value of attribute lookahead
8 9 10 |
# File 'lib/graphsql/resolver.rb', line 8 def lookahead @lookahead end |
#mapping ⇒ Object (readonly)
Returns the value of attribute mapping
8 9 10 |
# File 'lib/graphsql/resolver.rb', line 8 def mapping @mapping end |
#reflection ⇒ Object (readonly)
Returns the value of attribute reflection
8 9 10 |
# File 'lib/graphsql/resolver.rb', line 8 def reflection @reflection end |
#target_type ⇒ Object (readonly)
Returns the value of attribute target_type
8 9 10 |
# File 'lib/graphsql/resolver.rb', line 8 def target_type @target_type end |