Interface GraphQLScalar
public interface GraphQLScalar
The coercion of a custom scalar, such as scalar Date: Spring for GraphQL's
Coercing. Register one with GraphQL.Builder.scalar(String, GraphQLScalar).
A custom scalar with none passes values through as they are: what a resolver returns is written as JSON, and what a client sends is handed to the resolver as the JSON value (a string, number, boolean, list or map).
-
Method Summary
Modifier and TypeMethodDescriptionparseValue(Object input) The value a resolver receives forinput, which the client sent, either as a variable or as a literal in the document.The value to write forvalue, which a resolver returned: a string, number, boolean, list or map.
-
Method Details
-
serialize
-
parseValue
-