Uses of Class
graphql.validation.ValidationError
-
Packages that use ValidationError Package Description graphql graphql.analysis graphql.execution.instrumentation graphql.execution.instrumentation.tracing graphql.validation -
-
Uses of ValidationError in graphql
Fields in graphql with type parameters of type ValidationError Modifier and Type Field Description private java.util.List<ValidationError>
ParseAndValidateResult.Builder. validationErrors
private java.util.List<ValidationError>
ParseAndValidateResult. validationErrors
Methods in graphql that return types with arguments of type ValidationError Modifier and Type Method Description java.util.List<ValidationError>
ParseAndValidateResult. getValidationErrors()
private java.util.List<ValidationError>
GraphQL. validate(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)
static java.util.List<ValidationError>
ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument)
This can be called to validate a parsed graphql query, with the JVM default locale.static java.util.List<ValidationError>
ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull java.util.function.Predicate<java.lang.Class<?>> rulePredicate)
This can be called to validate a parsed graphql query, with the JVM default locale.static java.util.List<ValidationError>
ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull java.util.function.Predicate<java.lang.Class<?>> rulePredicate, @NotNull java.util.Locale locale)
This can be called to validate a parsed graphql query.static java.util.List<ValidationError>
ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull java.util.Locale locale)
This can be called to validate a parsed graphql query.Method parameters in graphql with type arguments of type ValidationError Modifier and Type Method Description ParseAndValidateResult.Builder
ParseAndValidateResult.Builder. validationErrors(java.util.List<ValidationError> validationErrors)
-
Uses of ValidationError in graphql.analysis
Methods in graphql.analysis that return types with arguments of type ValidationError Modifier and Type Method Description @Nullable InstrumentationContext<java.util.List<ValidationError>>
MaxQueryComplexityInstrumentation. beginValidation(InstrumentationValidationParameters parameters, InstrumentationState rawState)
-
Uses of ValidationError in graphql.execution.instrumentation
-
Uses of ValidationError in graphql.execution.instrumentation.tracing
Methods in graphql.execution.instrumentation.tracing that return types with arguments of type ValidationError Modifier and Type Method Description InstrumentationContext<java.util.List<ValidationError>>
TracingInstrumentation. beginValidation(InstrumentationValidationParameters parameters, InstrumentationState rawState)
-
Uses of ValidationError in graphql.validation
Fields in graphql.validation with type parameters of type ValidationError Modifier and Type Field Description private java.util.List<ValidationError>
ValidationErrorCollector. errors
Methods in graphql.validation that return ValidationError Modifier and Type Method Description ValidationError
ValidationError.Builder. build()
Methods in graphql.validation that return types with arguments of type ValidationError Modifier and Type Method Description java.util.List<ValidationError>
AbstractRule. getErrors()
java.util.List<ValidationError>
ValidationErrorCollector. getErrors()
java.util.List<ValidationError>
Validator. validateDocument(GraphQLSchema schema, Document document, java.util.function.Predicate<java.lang.Class<?>> applyRule, java.util.Locale locale)
java.util.List<ValidationError>
Validator. validateDocument(GraphQLSchema schema, Document document, java.util.Locale locale)
Methods in graphql.validation with parameters of type ValidationError Modifier and Type Method Description void
ValidationErrorCollector. addError(ValidationError validationError)
This will throwValidationErrorCollector.MaxValidationErrorsReached
if too many validation errors are added
-