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