We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting up the following for the handler
srv.AroundOperations(func(ctx context.Context, next graphql.OperationHandler) graphql.ResponseHandler { oc := graphql.GetOperationContext(ctx) fmt.Printf("%+v", oc.Variables) return next(ctx) })
prints map[] on the following query
map[]
query Query { genConfigJson(id: 1234567) }
The query succeeds and returns data in graphiql
the print statement should have printed {"id":1234567}
{"id":1234567}
scalar Map type Query { genConfigJson(id: [Int!]): [Map!] }
go run github.com/99designs/gqlgen version
v0.17.44
v0.17.49
go version
go version go1.22.4 linux/amd64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
setting up the following for the handler
prints
map[]
on the following query
The query succeeds and returns data in graphiql
What did you expect?
the print statement should have printed
{"id":1234567}
Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen version
?Initially tried with
v0.17.44
. Updated tov0.17.49
and it still happensgo version
?go version go1.22.4 linux/amd64
The text was updated successfully, but these errors were encountered: