@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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. 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.isInputObjectType(type)) {
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 (isInputObjectType(type)) {
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/utils",
3
- "version": "8.6.8",
3
+ "version": "8.6.9",
4
4
  "description": "Common package containing utils and types for GraphQL tools",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {