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