graphql
graphql copied to clipboard
How to support scalar JSON type?
The response is a JSON type which cannot be represented in string, like https://the-guild.dev/graphql/scalars/docs/scalars/json, how to support it? thanks.
You can use github.com/bhoriuchi/graphql-go-tools/scalars package, ScalarJSON variable.