@graphql-tools/wrap 8.3.2 → 8.3.3
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/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -623,7 +623,7 @@ class TransformInputObjectFields {
|
|
|
623
623
|
// Cast to NamedTypeNode required until upcomming graphql releases will have TypeNode paramter
|
|
624
624
|
const varType = graphql.typeFromAST(delegationContext.transformedSchema, variableDef.type);
|
|
625
625
|
if (!graphql.isInputType(varType)) {
|
|
626
|
-
|
|
626
|
+
continue;
|
|
627
627
|
}
|
|
628
628
|
variableValues[varName] = utils.transformInputValue(varType, variableValues[varName], undefined, (type, originalValue) => {
|
|
629
629
|
var _a;
|
package/index.mjs
CHANGED
|
@@ -619,7 +619,7 @@ class TransformInputObjectFields {
|
|
|
619
619
|
// Cast to NamedTypeNode required until upcomming graphql releases will have TypeNode paramter
|
|
620
620
|
const varType = typeFromAST(delegationContext.transformedSchema, variableDef.type);
|
|
621
621
|
if (!isInputType(varType)) {
|
|
622
|
-
|
|
622
|
+
continue;
|
|
623
623
|
}
|
|
624
624
|
variableValues[varName] = transformInputValue(varType, variableValues[varName], undefined, (type, originalValue) => {
|
|
625
625
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/wrap",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"./*": {
|
|
34
34
|
"require": "./*.js",
|
|
35
35
|
"import": "./*.mjs"
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"./package.json": "./package.json"
|
|
37
38
|
}
|
|
38
39
|
}
|