public class ArgumentValidationUtil extends ValidationUtil
| Constructor and Description |
|---|
ArgumentValidationUtil(Argument argument) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getErrorExtensions() |
java.lang.String |
getMessage() |
protected void |
handleEnumError(Value<?> value,
GraphQLEnumType type,
GraphQLError invalid) |
protected void |
handleExtraFieldError(Value<?> value,
GraphQLInputObjectType type,
ObjectField objectField) |
protected void |
handleFieldNotValidError(ObjectField objectField,
GraphQLInputObjectType type) |
protected void |
handleFieldNotValidError(Value<?> value,
GraphQLType type,
int index) |
protected void |
handleMissingFieldsError(Value<?> value,
GraphQLInputObjectType type,
java.util.Set<java.lang.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) |
getUnmodifiedType, isValidLiteralValuepublic ArgumentValidationUtil(Argument argument)
protected void handleNullError(Value<?> value, GraphQLType type)
handleNullError in class ValidationUtilprotected void handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)
handleScalarError in class ValidationUtilprotected void handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid)
handleEnumError in class ValidationUtilprotected void handleNotObjectError(Value<?> value, GraphQLInputObjectType type)
handleNotObjectError in class ValidationUtilprotected void handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, java.util.Set<java.lang.String> missingFields)
handleMissingFieldsError in class ValidationUtilprotected void handleExtraFieldError(Value<?> value, GraphQLInputObjectType type, ObjectField objectField)
handleExtraFieldError in class ValidationUtilprotected void handleFieldNotValidError(ObjectField objectField, GraphQLInputObjectType type)
handleFieldNotValidError in class ValidationUtilprotected void handleFieldNotValidError(Value<?> value, GraphQLType type, int index)
handleFieldNotValidError in class ValidationUtilpublic java.lang.String getMessage()
public java.util.Map<java.lang.String,java.lang.Object> getErrorExtensions()