public class ValidationUtil
extends java.lang.Object
Constructor and Description |
---|
ValidationUtil() |
Modifier and Type | Method and Description |
---|---|
TypeName |
getUnmodifiedType(Type<?> type) |
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) |
boolean |
isValidLiteralValue(Value<?> value,
GraphQLType type,
GraphQLSchema schema,
GraphQLContext graphQLContext,
java.util.Locale locale) |
protected void handleNullError(Value<?> value, GraphQLType type)
protected void handleScalarError(Value<?> value, GraphQLScalarType type, GraphQLError invalid)
protected void handleEnumError(Value<?> value, GraphQLEnumType type, GraphQLError invalid)
protected void handleNotObjectError(Value<?> value, GraphQLInputObjectType type)
protected void handleMissingFieldsError(Value<?> value, GraphQLInputObjectType type, java.util.Set<java.lang.String> missingFields)
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)
public boolean isValidLiteralValue(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)