smallrye-graphql
smallrye-graphql copied to clipboard
Scalar Input wrapper classes... `@FromScalar`?
trafficstars
We use wrapper types to make different ids typesafe. We hide them from the GraphQL Schema by annotating them as @ToScalar. But this doesn't help for input types. We probably need an corresponding @FromScalar, so a JSON String can be converted to, e.g., our custom OrderId.
I think the new AdaptWith might help. I'll show it tomorrow