lib/graphql/batch/mutation_execution_strategy.rb in graphql-batch-0.3.5 vs lib/graphql/batch/mutation_execution_strategy.rb in graphql-batch-0.3.7
- old
+ new
@@ -10,10 +10,10 @@
return super if strategy.enable_batching
GraphQL::Batch::Executor.current.clear
begin
strategy.enable_batching = true
- strategy.deep_sync(Promise.sync(super))
+ strategy.deep_sync(::Promise.sync(super))
ensure
strategy.enable_batching = false
GraphQL::Batch::Executor.current.clear
end
end