Module: GraphQL::Query::SerialExecution::OperationResolution

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

Class Method Summary collapse

Class Method Details

.resolve(selection, target, query) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/graphql/query/serial_execution/operation_resolution.rb', line 6

def self.resolve(selection, target, query)
  result = query.context.execution_strategy.selection_resolution.resolve(
    query.root_value,
    target,
    selection,
    query.context,
  )

  result
end