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