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



71
72
73
74
75
76
77
78
# File 'lib/graphql/query/serial_execution/value_resolution.rb', line 71

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