Skip to content

Commit 0db5a8f

Browse files
committed
🐛 Patch @graphql-tools/utils
1 parent ac37d85 commit 0db5a8f

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

bun.lockb

199 Bytes
Binary file not shown.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@
4848
"dotenv": "^16.4.5",
4949
"graphql": "^16.9.0",
5050
"slug": "^10.0.0"
51+
},
52+
"patchedDependencies": {
53+
"@graphql-tools/[email protected]": "patches/@graphql-tools%[email protected]"
5154
}
5255
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/esm/visitResult.js b/esm/visitResult.js
2+
index c3e8464959c49c8a5830c100cca5b2bc25d7647f..fd35f0a1c37c415712ffb3fa4f3a1d1ab24ccac3 100644
3+
--- a/esm/visitResult.js
4+
+++ b/esm/visitResult.js
5+
@@ -206,6 +206,7 @@ function visitFieldValue(value, returnType, fieldNodes, schema, fragments, varia
6+
}
7+
return visitObjectValue(value, nullableType, collectedFields, schema, fragments, variableValues, resultVisitorMap, pathIndex, errors, errorInfo);
8+
}
9+
+ if (!nullableType) return value;
10+
const typeVisitorMap = resultVisitorMap?.[nullableType.name];
11+
if (typeVisitorMap == null) {
12+
return value;

0 commit comments

Comments
 (0)