Method: GraphQL::Query::SerialExecution::FieldResolution#result

Defined in:
lib/graphql/query/serial_execution/field_resolution.rb

#resultObject



23
24
25
26
27
28
29
30
31
# File 'lib/graphql/query/serial_execution/field_resolution.rb', line 23

def result
  result_name = irep_node.name
  raw_value = get_raw_value
  if raw_value.is_a?(GraphQL::Execution::Execute::Skip)
    {}
  else
    { result_name => get_finished_value(raw_value) }
  end
end