Support for the HTTP QUERY method (RFC 10008) is being worked on upstream, both in the GraphQL spec and in Go:
graphql/graphql-over-http#411 — adds QUERY to the GraphQL-over-HTTP specification.
golang/go#80058 — adds http.MethodQuery to net/http.
gqlgen currently has transport.GET and transport.POST but no transport for QUERY, so QUERY requests are rejected with transport not supported.
I think it’s fine to revisit this in gqlgen once support for the GraphQL specification and Go query methods has been released.
Support for the HTTP QUERY method (RFC 10008) is being worked on upstream, both in the GraphQL spec and in Go:
graphql/graphql-over-http#411 — adds QUERY to the GraphQL-over-HTTP specification.
golang/go#80058 — adds http.MethodQuery to net/http.
gqlgen currently has transport.GET and transport.POST but no transport for QUERY, so QUERY requests are rejected with transport not supported.
I think it’s fine to revisit this in gqlgen once support for the GraphQL specification and Go query methods has been released.