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

Version Path
graphql-0.10.9 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.8 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.7 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.6 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.5 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.4 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.3 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.2 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.1 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.10.0 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.9.5 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.9.4 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.9.3 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.9.2 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.8.1 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.8.0 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.7.1 lib/graphql/query/serial_execution/operation_resolution.rb
graphql-0.7.0 lib/graphql/query/serial_execution/operation_resolution.rb