Class: GraphQL::Query::SerialExecution::ValueResolution::ObjectResolution

Inherits:
BaseResolution
  • Object
show all
Defined in:
lib/graphql/query/serial_execution/value_resolution.rb

Instance Attribute Summary

Attributes inherited from BaseResolution

#execution_context, #field_type, #irep_node, #parent_type, #target, #value

Instance Method Summary collapse

Methods inherited from BaseResolution

#get_strategy_for_kind, #initialize, #result

Constructor Details

This class inherits a constructor from GraphQL::Query::SerialExecution::ValueResolution::BaseResolution

Instance Method Details

#non_null_resultObject

Resolve the selections on this object


78
79
80
81
82
83
84
85
# File 'lib/graphql/query/serial_execution/value_resolution.rb', line 78

def non_null_result
  execution_context.strategy.selection_resolution.new(
    value,
    field_type,
    irep_node,
    execution_context
  ).result
end