@graphql-tools/delegate 9.0.18 → 9.0.19-alpha-20221207144117-2cfdc8a1

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.
@@ -131,7 +131,7 @@ function updateArguments(targetField, argumentNodeMap, variableDefinitionMap, va
131
131
  let value;
132
132
  const existingValueNode = (_a = argumentNodeMap[argName]) === null || _a === void 0 ? void 0 : _a.value;
133
133
  if (existingValueNode != null) {
134
- value = (0, graphql_1.valueFromAST)(existingValueNode, argType, variableValues);
134
+ value = (0, graphql_1.valueFromASTUntyped)(existingValueNode, variableValues);
135
135
  }
136
136
  if (value == null) {
137
137
  value = (0, utils_1.serializeInputValue)(argType, newArgs[argName]);
@@ -1,4 +1,4 @@
1
- import { getNamedType, isAbstractType, isInterfaceType, isObjectType, Kind, TypeInfo, TypeNameMetaFieldDef, valueFromAST, versionInfo as graphqlVersionInfo, visit, visitWithTypeInfo, } from 'graphql';
1
+ import { getNamedType, isAbstractType, isInterfaceType, isObjectType, Kind, TypeInfo, TypeNameMetaFieldDef, valueFromASTUntyped, versionInfo as graphqlVersionInfo, visit, visitWithTypeInfo, } from 'graphql';
2
2
  import { getDefinedRootType, serializeInputValue, updateArgument, createVariableNameGenerator, implementsAbstractType, inspect, } from '@graphql-tools/utils';
3
3
  import { getDocumentMetadata } from './getDocumentMetadata.js';
4
4
  function finalizeGatewayDocument(targetSchema, fragments, operations) {
@@ -127,7 +127,7 @@ function updateArguments(targetField, argumentNodeMap, variableDefinitionMap, va
127
127
  let value;
128
128
  const existingValueNode = (_a = argumentNodeMap[argName]) === null || _a === void 0 ? void 0 : _a.value;
129
129
  if (existingValueNode != null) {
130
- value = valueFromAST(existingValueNode, argType, variableValues);
130
+ value = valueFromASTUntyped(existingValueNode, variableValues);
131
131
  }
132
132
  if (value == null) {
133
133
  value = serializeInputValue(argType, newArgs[argName]);
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@graphql-tools/delegate",
3
- "version": "9.0.18",
3
+ "version": "9.0.19-alpha-20221207144117-2cfdc8a1",
4
4
  "description": "A set of utils for faster development of GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
8
8
  },
9
9
  "dependencies": {
10
- "@graphql-tools/batch-execute": "8.5.13",
11
- "@graphql-tools/executor": "0.0.10",
12
- "@graphql-tools/schema": "9.0.11",
13
- "@graphql-tools/utils": "9.1.2",
10
+ "@graphql-tools/batch-execute": "8.5.14-alpha-20221207144117-2cfdc8a1",
11
+ "@graphql-tools/executor": "0.0.11-alpha-20221207144117-2cfdc8a1",
12
+ "@graphql-tools/schema": "9.0.12-alpha-20221207144117-2cfdc8a1",
13
+ "@graphql-tools/utils": "9.1.3-alpha-20221207144117-2cfdc8a1",
14
14
  "dataloader": "2.1.0",
15
15
  "tslib": "~2.4.0",
16
16
  "value-or-promise": "1.0.11"