graphql
Advanced tools
Comparing version 17.0.0-alpha.3.canary.pr.4032.4fb41fe3e1f2b4b27437138d6d7d4763c1992e7a to 17.0.0-alpha.3.canary.pr.4032.8bcdcea90e0a24432a78270866c27e0db6a2ae4d
@@ -22,3 +22,2 @@ 'use strict'; | ||
const promiseReduce_js_1 = require('../jsutils/promiseReduce.js'); | ||
const resolveAfterAll_js_1 = require('../jsutils/resolveAfterAll.js'); | ||
const GraphQLError_js_1 = require('../error/GraphQLError.js'); | ||
@@ -487,3 +486,3 @@ const locatedError_js_1 = require('../error/locatedError.js'); | ||
// same map, but with any promises replaced with the values they resolved to. | ||
return (0, resolveAfterAll_js_1.resolveAfterAll)(acc, promises); | ||
return Promise.all(promises).then(() => acc); | ||
} | ||
@@ -921,5 +920,3 @@ function toNodes(fieldGroup) { | ||
} | ||
return promises.length > 0 | ||
? (0, resolveAfterAll_js_1.resolveAfterAll)(acc, promises) | ||
: acc; | ||
return promises.length > 0 ? Promise.all(promises).then(() => acc) : acc; | ||
} | ||
@@ -1013,5 +1010,3 @@ /** | ||
} | ||
return promises.length > 0 | ||
? (0, resolveAfterAll_js_1.resolveAfterAll)(acc, promises) | ||
: acc; | ||
return promises.length > 0 ? Promise.all(promises).then(() => acc) : acc; | ||
} | ||
@@ -1018,0 +1013,0 @@ /** |
{ | ||
"name": "graphql", | ||
"version": "17.0.0-alpha.3.canary.pr.4032.4fb41fe3e1f2b4b27437138d6d7d4763c1992e7a", | ||
"version": "17.0.0-alpha.3.canary.pr.4032.8bcdcea90e0a24432a78270866c27e0db6a2ae4d", | ||
"description": "A Query Language and Runtime which can target any service.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
1428945
409
44282