@graphql-tools/utils 8.6.8 → 8.6.9
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 +1 -1
package/index.js
CHANGED
|
@@ -3308,7 +3308,7 @@ function visitQueue(queue, schema, visited = new Set()) {
|
|
|
3308
3308
|
continue;
|
|
3309
3309
|
}
|
|
3310
3310
|
for (const [, field] of entries) {
|
|
3311
|
-
if (graphql.
|
|
3311
|
+
if (graphql.isObjectType(type)) {
|
|
3312
3312
|
for (const arg of field.args) {
|
|
3313
3313
|
queue.push(graphql.getNamedType(arg.type).name); // Visit arg types
|
|
3314
3314
|
}
|
package/index.mjs
CHANGED
|
@@ -3306,7 +3306,7 @@ function visitQueue(queue, schema, visited = new Set()) {
|
|
|
3306
3306
|
continue;
|
|
3307
3307
|
}
|
|
3308
3308
|
for (const [, field] of entries) {
|
|
3309
|
-
if (
|
|
3309
|
+
if (isObjectType(type)) {
|
|
3310
3310
|
for (const arg of field.args) {
|
|
3311
3311
|
queue.push(getNamedType(arg.type).name); // Visit arg types
|
|
3312
3312
|
}
|