Class: GraphQL::Query::BaseExecution::SelectedObjectResolution
- Inherits:
-
Object
- Object
- GraphQL::Query::BaseExecution::SelectedObjectResolution
- Defined in:
- lib/graphql/query/base_execution/selected_object_resolution.rb
Direct Known Subclasses
SerialExecution::FieldResolution, SerialExecution::FragmentSpreadResolution, SerialExecution::InlineFragmentResolution
Instance Attribute Summary collapse
-
#ast_node ⇒ Object
readonly
Returns the value of attribute ast_node.
-
#execution_strategy ⇒ Object
readonly
Returns the value of attribute execution_strategy.
-
#parent_type ⇒ Object
readonly
Returns the value of attribute parent_type.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(ast_node, parent_type, target, query, execution_strategy) ⇒ SelectedObjectResolution
constructor
A new instance of SelectedObjectResolution.
Constructor Details
#initialize(ast_node, parent_type, target, query, execution_strategy) ⇒ SelectedObjectResolution
Returns a new instance of SelectedObjectResolution.
6 7 8 9 10 11 12 |
# File 'lib/graphql/query/base_execution/selected_object_resolution.rb', line 6 def initialize(ast_node, parent_type, target, query, execution_strategy) @ast_node = ast_node @parent_type = parent_type @target = target @query = query @execution_strategy = execution_strategy end |
Instance Attribute Details
#ast_node ⇒ Object (readonly)
Returns the value of attribute ast_node.
5 6 7 |
# File 'lib/graphql/query/base_execution/selected_object_resolution.rb', line 5 def ast_node @ast_node end |
#execution_strategy ⇒ Object (readonly)
Returns the value of attribute execution_strategy.
5 6 7 |
# File 'lib/graphql/query/base_execution/selected_object_resolution.rb', line 5 def execution_strategy @execution_strategy end |
#parent_type ⇒ Object (readonly)
Returns the value of attribute parent_type.
5 6 7 |
# File 'lib/graphql/query/base_execution/selected_object_resolution.rb', line 5 def parent_type @parent_type end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
5 6 7 |
# File 'lib/graphql/query/base_execution/selected_object_resolution.rb', line 5 def query @query end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
5 6 7 |
# File 'lib/graphql/query/base_execution/selected_object_resolution.rb', line 5 def target @target end |