@graphql-tools/executor 2.0.4 → 2.0.5-alpha-20261015084620-a021b97f118ca519e176ca16da05244a1fcb1d9e

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.
@@ -357,7 +357,7 @@ function executeField(exeContext, parentType, source, fieldNodes, path, asyncPay
357
357
  // Build a JS object of arguments from the field.arguments AST, using the
358
358
  // variables scope to fulfill any variable references.
359
359
  // TODO: find a way to memoize, in case this field is within a List type.
360
- const args = (0, utils_1.getArgumentValues)(fieldDef, fieldNodes[0], exeContext.variableValues.coerced);
360
+ const args = (0, utils_1.getArgumentValues)(fieldDef, fieldNodes[0], exeContext.variableValues.coerced, exeContext.variableValues.sources);
361
361
  // The resolve function's optional third argument is a context value that
362
362
  // is provided to every resolve function within an execution. It is commonly
363
363
  // used to represent an authenticated user, or request-specific caches.
@@ -992,7 +992,7 @@ function executeSubscription(exeContext) {
992
992
  // It differs from "ResolveFieldValue" due to providing a different `resolveFn`.
993
993
  // Build a JS object of arguments from the field.arguments AST, using the
994
994
  // variables scope to fulfill any variable references.
995
- const args = (0, utils_1.getArgumentValues)(fieldDef, fieldNodes[0], variableValues.coerced);
995
+ const args = (0, utils_1.getArgumentValues)(fieldDef, fieldNodes[0], variableValues.coerced, variableValues.sources);
996
996
  // The resolve function's optional third argument is a context value that
997
997
  // is provided to every resolve function within an execution. It is commonly
998
998
  // used to represent an authenticated user, or request-specific caches.
@@ -344,7 +344,7 @@ function executeField(exeContext, parentType, source, fieldNodes, path, asyncPay
344
344
  // Build a JS object of arguments from the field.arguments AST, using the
345
345
  // variables scope to fulfill any variable references.
346
346
  // TODO: find a way to memoize, in case this field is within a List type.
347
- const args = getArgumentValues(fieldDef, fieldNodes[0], exeContext.variableValues.coerced);
347
+ const args = getArgumentValues(fieldDef, fieldNodes[0], exeContext.variableValues.coerced, exeContext.variableValues.sources);
348
348
  // The resolve function's optional third argument is a context value that
349
349
  // is provided to every resolve function within an execution. It is commonly
350
350
  // used to represent an authenticated user, or request-specific caches.
@@ -977,7 +977,7 @@ function executeSubscription(exeContext) {
977
977
  // It differs from "ResolveFieldValue" due to providing a different `resolveFn`.
978
978
  // Build a JS object of arguments from the field.arguments AST, using the
979
979
  // variables scope to fulfill any variable references.
980
- const args = getArgumentValues(fieldDef, fieldNodes[0], variableValues.coerced);
980
+ const args = getArgumentValues(fieldDef, fieldNodes[0], variableValues.coerced, variableValues.sources);
981
981
  // The resolve function's optional third argument is a context value that
982
982
  // is provided to every resolve function within an execution. It is commonly
983
983
  // used to represent an authenticated user, or request-specific caches.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@graphql-tools/executor",
3
- "version": "2.0.4",
3
+ "version": "2.0.5-alpha-20261015084620-a021b97f118ca519e176ca16da05244a1fcb1d9e",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
7
7
  },
8
8
  "dependencies": {
9
- "@graphql-tools/utils": "^12.0.4",
9
+ "@graphql-tools/utils": "12.0.5-alpha-20261015084620-a021b97f118ca519e176ca16da05244a1fcb1d9e",
10
10
  "@graphql-typed-document-node/core": "^3.2.0",
11
11
  "@repeaterjs/repeater": "^3.1.0",
12
12
  "@whatwg-node/disposablestack": "^0.1.0",