graphql / graphql/graphiql

[graphiql] Sending extensions in request

Open
#3,372 6 comments 2 reactions 0 assignees View on GitHub
enhancement graphiql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

Hello, it can be useful to send extensions in a GraphQL request and I'd like to know if you're interested in supporting this feature.

At work, I have a use case where I want to send metadata via the extensions key in a GraphQL request. This metadata is then used to toggle behaviour in the GraphQL service, which is very useful for developers wanting to quickly iterate and test ideas in staging.

I saw a [previous discussion about request extensions](https://github.com/graphql/graphiql/issues/375) from 2017. Given that GraphiQL has changed significantly since then, I thought it could be easier to implement this now.

Would you consider this as a feature? I am happy to help out.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.