Sha256: b41c6fcb46a90f0bb7da53417ca922cc7fb6ba67e3e232e8540f51990b1b4b82
Contents?: true
Size: 696 Bytes
Versions: 18
Compression:
Stored size: 696 Bytes
Contents
module GraphQL class Query class SerialExecution class OperationResolution attr_reader :query, :target, :ast_operation_definition, :execution_strategy def initialize(ast_operation_definition, target, query, execution_strategy) @ast_operation_definition = ast_operation_definition @query = query @target = target @execution_strategy = execution_strategy end def result selections = ast_operation_definition.selections resolver = execution_strategy.selection_resolution.new(nil, target, selections, query, execution_strategy) resolver.result end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems