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

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

Instance Attribute Summary

Attributes inherited from BaseResolution

#ast_field, #execution_strategy, #field_type, #parent_type, #query, #target, #value

Instance Method Summary collapse

Methods inherited from BaseResolution

#initialize

Constructor Details

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

Instance Method Details

#resultObject


45
46
47
48
# File 'lib/graphql/query/value_resolution.rb', line 45

def result
  resolver = execution_strategy.selection_resolution.new(value, field_type, ast_field.selections, query, execution_strategy)
  resolver.result
end