-
graphQLScalarType
graphql.schema.GraphQLScalarType graphQLScalarType
The GraphQLScalarType
instance that manages this Custom Scalar. It's used to deserialize the value read
on the Jackson response from the server It is mandatory for custom scalars, and must null for other data types.
-
handledType
java.lang.Class<?> handledType
The java type that contains the value of the final items, in the list. For instance for a GraphQL type
[[Boolean]], the handle type is Boolean
. It is sent to the jackson StdDeserializer
. It is also
used when the recursion of the nested list is at the deepest level, and the read token is the "real" value.
-
itemDeserializer
AbstractCustomJacksonDeserializer<?> itemDeserializer
The class that can deserialize the items in the list. This recursion allows to deserialize list of lists.
This field must be null to deserialize non list objects. And it's mandatory, to deserialize lists.
-
list
boolean list
This indicates if this deserializer manages list of GraphQL values, or a GraphQL scalar. We can't just read the
kind of JSON token, as it would be possible (very unlikely, but not impossible) that a custom scalar stores its
content as a JSON list. So we need our particular way of knowing of this deserialize expects a list or final
value (from a GraphQL or java view point).
-
logger
org.slf4j.Logger logger
Logger for this class