Replies: 1 comment
-
GRAPHQL_PARSE_FAILED is complaining about the query's syntax. Unlike JSON, The literal |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
I would like to have a mutation where the caller can pass a Map of strings, or even Any json object.
The problem is not defining this in gqlgen, the issue is how to call it?
In the playground, I try this:
but unfortunately, that gives me an error:
because clearly, it does not know how to validate the 'Map' scalar.
What did you expect?
I would expect it to have just passed the Map to my resolver
Minimal graphql.schema and models to reproduce
Resolver:
versions
gqlgen version
: v0.13.0go version
: go version go1.16 linux/amd64Beta Was this translation helpful? Give feedback.
All reactions