public class VariableTypesMatchRule extends AbstractRule
Constructor and Description |
---|
VariableTypesMatchRule(ValidationContext validationContext,
ValidationErrorCollector validationErrorCollector) |
Modifier and Type | Method and Description |
---|---|
void |
checkOperationDefinition(OperationDefinition operationDefinition) |
void |
checkVariable(VariableReference variableReference) |
void |
checkVariableDefinition(VariableDefinition variableDefinition) |
addError, addError, addError, checkArgument, checkDirective, checkDocument, checkField, checkFragmentDefinition, checkFragmentSpread, checkInlineFragment, checkSelectionSet, checkTypeName, documentFinished, getErrors, getQueryPath, getValidationContext, getValidationErrorCollector, getValidationUtil, isVisitFragmentSpreads, leaveOperationDefinition, leaveSelectionSet, setVisitFragmentSpreads, toString
public VariableTypesMatchRule(ValidationContext validationContext, ValidationErrorCollector validationErrorCollector)
public void checkOperationDefinition(OperationDefinition operationDefinition)
checkOperationDefinition
in class AbstractRule
public void checkVariableDefinition(VariableDefinition variableDefinition)
checkVariableDefinition
in class AbstractRule
public void checkVariable(VariableReference variableReference)
checkVariable
in class AbstractRule