Class: GraphQL::Query::ParallelExecution::FieldResolution
- Inherits:
-
SerialExecution::FieldResolution
- Object
- BaseExecution::SelectedObjectResolution
- SerialExecution::FieldResolution
- GraphQL::Query::ParallelExecution::FieldResolution
- Defined in:
- lib/graphql/query/parallel_execution.rb
Instance Attribute Summary
Attributes inherited from SerialExecution::FieldResolution
Attributes inherited from BaseExecution::SelectedObjectResolution
#ast_node, #execution_strategy, #parent_type, #query, #target
Instance Method Summary collapse
Methods inherited from SerialExecution::FieldResolution
Methods inherited from BaseExecution::SelectedObjectResolution
Constructor Details
This class inherits a constructor from GraphQL::Query::SerialExecution::FieldResolution
Instance Method Details
#get_finished_value(raw_value) ⇒ Object
61 62 63 64 65 66 67 |
# File 'lib/graphql/query/parallel_execution.rb', line 61 def get_finished_value(raw_value) if raw_value.is_a?(Celluloid::Future) GraphQL::Query::ParallelExecution::FutureFieldResolution.new(field_resolution: self, future: raw_value) else super end end |