Interface VariablePredicate
This predicate indicates whether a variable should be made for this field argument OR whether it will be compiled
into a graphql AST literal.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldMakeVariable(ExecutableNormalizedField executableNormalizedField, String argName, NormalizedInputValue normalizedInputValue) Return true if a variable should be made for this field argument
-
Method Details
-
shouldMakeVariable
boolean shouldMakeVariable(ExecutableNormalizedField executableNormalizedField, String argName, NormalizedInputValue normalizedInputValue) Return true if a variable should be made for this field argument- Parameters:
executableNormalizedField- the field in questionargName- the argument on the fieldnormalizedInputValue- the input value for that argument- Returns:
- true if a variable should be made
-