Package graphql.validation.rules
-
Interface Summary Interface Description OnValidationErrorStrategy A callback that indicates whether to continue the data fetching after validation errors are detected and what value should be returned if it decides to not continue.ValidationRule A validation rule is code that can be applied inside aValidationEnvironmentand produce a list of zero or moreGraphQLErrors as validation. -
Class Summary Class Description TargetedValidationRules TargetedValidationRules is a holder ofValidationRules targeted against a specific type, field and possible argument viaValidationCoordinates.TargetedValidationRules.Builder ValidationCoordinates Validation rules can be co-ordinated on a field (within a fields container) or an argument on a field (within a fields container)ValidationEnvironment The environment in which validation runsValidationEnvironment.Builder ValidationRules ValidationRulesis a holder of validation rules and you can then pass it field and arguments and narrow down the list of actual rules that apply to those fields and arguments.ValidationRules.Builder -
Enum Summary Enum Description ValidationEnvironment.ValidatedElement The type of element being validated