@graphql-tools/delegate 12.0.0 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @graphql-tools/delegate
|
|
2
2
|
|
|
3
|
+
## 12.0.1
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- [`0d14faf`](https://github.com/graphql-hive/gateway/commit/0d14fafdbaf3fb27eef123016ef2ca977d6688d8) Thanks [@ardatan](https://github.com/ardatan)! - Fix leftover handling 2nd take
|
|
9
|
+
|
|
3
10
|
## 12.0.0
|
|
4
11
|
### Major Changes
|
|
5
12
|
|
package/dist/index.cjs
CHANGED
|
@@ -1958,9 +1958,7 @@ function defaultMergedResolver(parent, args, context, info) {
|
|
|
1958
1958
|
})) {
|
|
1959
1959
|
handleResult(parent, responseKey, context, info);
|
|
1960
1960
|
} else {
|
|
1961
|
-
|
|
1962
|
-
handleLeftOver(parent, context, info, leftOver);
|
|
1963
|
-
}, 0);
|
|
1961
|
+
handleLeftOver(parent, context, info, leftOver);
|
|
1964
1962
|
}
|
|
1965
1963
|
return deferred.promise;
|
|
1966
1964
|
}
|
|
@@ -2195,7 +2193,9 @@ function handleDeferredResolverResult(resolverResult, possibleSubschema, selecti
|
|
|
2195
2193
|
requiredKey
|
|
2196
2194
|
);
|
|
2197
2195
|
})) {
|
|
2198
|
-
|
|
2196
|
+
setTimeout(() => {
|
|
2197
|
+
handleLeftOver(leftOverParent, context, info, leftOver);
|
|
2198
|
+
}, 0);
|
|
2199
2199
|
}
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|
package/dist/index.js
CHANGED
|
@@ -1958,9 +1958,7 @@ function defaultMergedResolver(parent, args, context, info) {
|
|
|
1958
1958
|
})) {
|
|
1959
1959
|
handleResult(parent, responseKey, context, info);
|
|
1960
1960
|
} else {
|
|
1961
|
-
|
|
1962
|
-
handleLeftOver(parent, context, info, leftOver);
|
|
1963
|
-
}, 0);
|
|
1961
|
+
handleLeftOver(parent, context, info, leftOver);
|
|
1964
1962
|
}
|
|
1965
1963
|
return deferred.promise;
|
|
1966
1964
|
}
|
|
@@ -2195,7 +2193,9 @@ function handleDeferredResolverResult(resolverResult, possibleSubschema, selecti
|
|
|
2195
2193
|
requiredKey
|
|
2196
2194
|
);
|
|
2197
2195
|
})) {
|
|
2198
|
-
|
|
2196
|
+
setTimeout(() => {
|
|
2197
|
+
handleLeftOver(leftOverParent, context, info, leftOver);
|
|
2198
|
+
}, 0);
|
|
2199
2199
|
}
|
|
2200
2200
|
}
|
|
2201
2201
|
}
|