@graphql-tools/batch-execute 9.0.15 → 9.0.16-alpha-b4b17eeee06493fb7d40f139d813d41bfbc6eca1

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @graphql-tools/batch-execute
2
2
 
3
+ ## 9.0.16-alpha-b4b17eeee06493fb7d40f139d813d41bfbc6eca1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1027](https://github.com/graphql-hive/gateway/pull/1027) [`b4b17ee`](https://github.com/graphql-hive/gateway/commit/b4b17eeee06493fb7d40f139d813d41bfbc6eca1) Thanks [@ardatan](https://github.com/ardatan)! - Spread sync errors into an array with the same size of the requests to satisfy underlying DataLoader implementation to throw the error correctly
8
+
3
9
  ## 9.0.15
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -321,7 +321,8 @@ function createLoadFn(executor, extensionsReducer) {
321
321
  );
322
322
  }
323
323
  return splitResult(resultBatches, requests.length);
324
- }
324
+ },
325
+ (err) => requests.map(() => err)
325
326
  )
326
327
  );
327
328
  };
package/dist/index.js CHANGED
@@ -315,7 +315,8 @@ function createLoadFn(executor, extensionsReducer) {
315
315
  );
316
316
  }
317
317
  return splitResult(resultBatches, requests.length);
318
- }
318
+ },
319
+ (err) => requests.map(() => err)
319
320
  )
320
321
  );
321
322
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/batch-execute",
3
- "version": "9.0.15",
3
+ "version": "9.0.16-alpha-b4b17eeee06493fb7d40f139d813d41bfbc6eca1",
4
4
  "type": "module",
5
5
  "description": "A set of utils for faster development of GraphQL tools",
6
6
  "repository": {
@@ -13,6 +13,7 @@
13
13
  "node": ">=18.0.0"
14
14
  },
15
15
  "main": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
16
17
  "exports": {
17
18
  ".": {
18
19
  "require": {
@@ -26,7 +27,6 @@
26
27
  },
27
28
  "./package.json": "./package.json"
28
29
  },
29
- "types": "./dist/index.d.ts",
30
30
  "files": [
31
31
  "dist"
32
32
  ],
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "graphql": "^16.9.0",
48
- "pkgroll": "2.11.2"
48
+ "pkgroll": "2.12.1"
49
49
  },
50
50
  "sideEffects": false
51
51
  }