Package graphql.execution
Class ValuesResolverLegacy
java.lang.Object
graphql.execution.ValuesResolverLegacy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Value
<?> handleInputObjectLegacy
(Object javaValue, GraphQLInputObjectType type, GraphQLContext graphqlContext, Locale locale) private static Value
<?> handleListLegacy
(Object value, GraphQLList type, GraphQLContext graphqlContext, Locale locale) private static Value
<?> handleNonNullLegacy
(Object _value, GraphQLNonNull type, GraphQLContext graphqlContext, Locale locale) private static Value
<?> handleNumberLegacy
(String stringValue) private static Object
serializeLegacy
(GraphQLType type, Object value, GraphQLContext graphqlContext, Locale locale) (package private) static Value
<?> valueToLiteralLegacy
(Object value, GraphQLType type, GraphQLContext graphqlContext, Locale locale) Legacy logic to convert an arbitrary java object to an Ast Literal.
-
Constructor Details
-
ValuesResolverLegacy
ValuesResolverLegacy()
-
-
Method Details
-
valueToLiteralLegacy
static Value<?> valueToLiteralLegacy(Object value, GraphQLType type, GraphQLContext graphqlContext, Locale locale) Legacy logic to convert an arbitrary java object to an Ast Literal. Only provided here to preserve backwards compatibility. -
handleInputObjectLegacy
private static Value<?> handleInputObjectLegacy(Object javaValue, GraphQLInputObjectType type, GraphQLContext graphqlContext, Locale locale) -
handleNumberLegacy
-
handleListLegacy
private static Value<?> handleListLegacy(Object value, GraphQLList type, GraphQLContext graphqlContext, Locale locale) -
handleNonNullLegacy
private static Value<?> handleNonNullLegacy(Object _value, GraphQLNonNull type, GraphQLContext graphqlContext, Locale locale) -
serializeLegacy
private static Object serializeLegacy(GraphQLType type, Object value, GraphQLContext graphqlContext, Locale locale)
-