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