Sha256: f69cd3573d4ffc4fa48caafdd2009d1e652a8dcd0acfc9ea05eae9dd132fa980
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
module GraphQL::Batch class MutationExecutionStrategy < GraphQL::Batch::ExecutionStrategy attr_accessor :enable_batching class FieldResolution < GraphQL::Batch::ExecutionStrategy::FieldResolution def get_finished_value(raw_value) strategy = execution_context.strategy return super if strategy.enable_batching begin strategy.enable_batching = true strategy.deep_sync(Promise.sync(super)) ensure strategy.enable_batching = false end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
graphql-batch-0.3.0 | lib/graphql/batch/mutation_execution_strategy.rb |