We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 883ba63 commit e09e6b6Copy full SHA for e09e6b6
src/main/java/graphql/normalized/VariableAccumulator.java
@@ -30,6 +30,8 @@ public VariableAccumulator(@Nullable VariablePredicate variablePredicate) {
30
}
31
32
public boolean shouldMakeVariable(ExecutableNormalizedField executableNormalizedField, QueryAppliedDirective queryAppliedDirective, String argName, NormalizedInputValue normalizedInputValue) {
33
+ // when a variable is used on the argument to a query directive then the queryAppliedDirective will be nonnull.
34
+ // otherwise it must be a field argument
35
if (queryAppliedDirective != null) {
36
return variablePredicate != null && variablePredicate.shouldMakeVariable(executableNormalizedField, queryAppliedDirective, argName, normalizedInputValue);
37
} else {
0 commit comments