Package graphql.validation
Class ArgumentValidationUtil
java.lang.Object
graphql.validation.ValidationUtil
graphql.validation.ArgumentValidationUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleEnumError
(Value<?> value, GraphQLEnumType type, GraphQLError invalid) protected void
handleExtraFieldError
(Value<?> value, GraphQLInputObjectType type, ObjectField objectField) protected void
handleExtraOneOfFieldsError
(GraphQLInputObjectType type, Value<?> value) protected void
handleFieldNotValidError
(ObjectField objectField, GraphQLInputObjectType type) protected void
handleFieldNotValidError
(Value<?> value, GraphQLType type, int index) protected void
handleMissingFieldsError
(Value<?> value, GraphQLInputObjectType type, Set<String> missingFields) protected void
handleNotObjectError
(Value<?> value, GraphQLInputObjectType type) protected void
handleNullError
(Value<?> value, GraphQLType type) protected void
handleScalarError
(Value<?> value, GraphQLScalarType type, GraphQLError invalid) Methods inherited from class graphql.validation.ValidationUtil
getUnmodifiedType, isValidLiteralValue
-
Constructor Details
-
ArgumentValidationUtil
-
-
Method Details
-
handleNullError
- Overrides:
handleNullError
in classValidationUtil
-
handleScalarError
- Overrides:
handleScalarError
in classValidationUtil
-
handleEnumError
- Overrides:
handleEnumError
in classValidationUtil
-
handleNotObjectError
- Overrides:
handleNotObjectError
in classValidationUtil
-
handleMissingFieldsError
protected void handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, Set<String> missingFields) - Overrides:
handleMissingFieldsError
in classValidationUtil
-
handleExtraFieldError
protected void handleExtraFieldError(Value<?> value, GraphQLInputObjectType type, ObjectField objectField) - Overrides:
handleExtraFieldError
in classValidationUtil
-
handleFieldNotValidError
- Overrides:
handleFieldNotValidError
in classValidationUtil
-
handleFieldNotValidError
- Overrides:
handleFieldNotValidError
in classValidationUtil
-
handleExtraOneOfFieldsError
- Overrides:
handleExtraOneOfFieldsError
in classValidationUtil
-
getMsgAndArgs
-
getErrorExtensions
-