@graphql-tools/utils
Advanced tools
Comparing version 10.1.0 to 10.1.1-rc-20240311101155-037ddf6a945f2386ccfc14fec99cb07bce97e43f
@@ -38,3 +38,3 @@ "use strict"; | ||
for (const argName in field.args) { | ||
if (!argumentFilter(operation, fieldName, argName, field.args[argName])) { | ||
if (!argumentFilter(type.name, fieldName, argName, field.args[argName])) { | ||
delete field.args[argName]; | ||
@@ -41,0 +41,0 @@ } |
@@ -34,3 +34,3 @@ import { GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, } from 'graphql'; | ||
for (const argName in field.args) { | ||
if (!argumentFilter(operation, fieldName, argName, field.args[argName])) { | ||
if (!argumentFilter(type.name, fieldName, argName, field.args[argName])) { | ||
delete field.args[argName]; | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "@graphql-tools/utils", | ||
"version": "10.1.0", | ||
"version": "10.1.1-rc-20240311101155-037ddf6a945f2386ccfc14fec99cb07bce97e43f", | ||
"description": "Common package containing utils and types for GraphQL tools", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
496942
2