Package graphql.validation.rules
Class VariableTypesMatch
- java.lang.Object
-
- graphql.validation.AbstractRule
-
- graphql.validation.rules.VariableTypesMatch
-
public class VariableTypesMatch extends AbstractRule
-
-
Constructor Summary
Constructors Constructor Description VariableTypesMatch(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkOperationDefinition(OperationDefinition operationDefinition)
void
checkVariable(VariableReference variableReference)
void
checkVariableDefinition(VariableDefinition variableDefinition)
-
Methods inherited from class graphql.validation.AbstractRule
addError, addError, addError, checkArgument, checkDirective, checkDocument, checkField, checkFragmentDefinition, checkFragmentSpread, checkInlineFragment, checkObjectValue, checkSelectionSet, checkTypeName, documentFinished, getErrors, getQueryPath, getValidationContext, getValidationErrorCollector, getValidationUtil, i18n, i18n, isExperimentalApiKeyEnabled, isVisitFragmentSpreads, leaveOperationDefinition, leaveSelectionSet, setVisitFragmentSpreads, toString
-
-
-
-
Constructor Detail
-
VariableTypesMatch
public VariableTypesMatch(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
-
-
Method Detail
-
checkOperationDefinition
public void checkOperationDefinition(OperationDefinition operationDefinition)
- Overrides:
checkOperationDefinition
in classAbstractRule
-
checkVariableDefinition
public void checkVariableDefinition(VariableDefinition variableDefinition)
- Overrides:
checkVariableDefinition
in classAbstractRule
-
checkVariable
public void checkVariable(VariableReference variableReference)
- Overrides:
checkVariable
in classAbstractRule
-
-