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