Closed as not planned
Description
As seen in this StackOverflow question, developers are expecting to use ArgumentValue<T>
as a way of expressing a T
value being present/absent/null
, not only in GraphQL controllers but also on the client side with GraphQlClient
and GraphQlTester
.
Currently, if we try to use ArgumentValue<T>
on the client side for an input type like this:
record UpdateImageInput (Long id, int version, ArgumentValue<String> title) {
}
This will result in Jackson serializing ArgumentValue
itself with its value
and ommitted
properties.
We should look into ways of supporting this use case.