class GraphQL::Query::SerialExecution::ValueResolution::BaseResolution

def get_strategy_for_kind(*args)

def get_strategy_for_kind(*args)
  GraphQL::Query::SerialExecution::ValueResolution.get_strategy_for_kind(*args)
end

def initialize(value, field_type, target, parent_type, irep_node, execution_context)

def initialize(value, field_type, target, parent_type, irep_node, execution_context)
  @value = value
  @field_type = field_type
  @target = target
  @parent_type = parent_type
  @irep_node = irep_node
  @execution_context = execution_context
end

def non_null_result

def non_null_result
  raise NotImplementedError, "Should return a value based on initialization params"
end

def result

def result
  return nil if value.nil? || value.is_a?(GraphQL::ExecutionError)
  non_null_result
end