Skip to content

Support the HTTP QUERY method (RFC 10008) #4295

Description

@sonatard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions