lib/graphql/batch/execution_strategy.rb in graphql-batch-0.3.5 vs lib/graphql/batch/execution_strategy.rb in graphql-batch-0.3.7
- old
+ new
@@ -11,10 +11,10 @@
nil
end
# Needed for MutationExecutionStrategy
def deep_sync(result) #:nodoc:
- Promise.sync(as_promise_unless_resolved(result))
+ ::Promise.sync(as_promise_unless_resolved(result))
end
private
def as_promise_unless_resolved(result)