Sha256: 2df9963d9c245cdcd0dce8ba7eb93018075cd689e192d180614b1f36faf477fc
Contents?: true
Size: 690 Bytes
Versions: 5
Compression:
Stored size: 690 Bytes
Contents
module GraphQL class Query class SerialExecution class OperationResolution attr_reader :query, :target, :ast_operation_definition, :execution_context def initialize(ast_operation_definition, target, execution_context) @ast_operation_definition = ast_operation_definition @target = target @execution_context = execution_context end def result selections = ast_operation_definition.selections execution_context.strategy.selection_resolution.new( nil, target, selections, execution_context ).result end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems