Is it possible to write a resolver that uses one of my defined types? Something with multiple attributes, not just a scalar value. Or would it be better just to use JSON.stringify as a String parameter and parse it on my server?
n
nilan
05/29/2018, 9:13 AM
yes, that's possible and super common.
nilan
05/29/2018, 9:13 AM
I don't understand your question about JSON.stringify.
This is an awesome example. Iām sure it is in the documentation and I just missed it. š
I was just talking about turning a JavaScript object into JSON before sending it as a String argument. I like your way better!