-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
enhancementgraphiqlplugin proposalGraphiQL Plugin Proposal for reviewGraphiQL Plugin Proposal for reviewpotential pluginA potential plugin idea for later versions of GraphiQLA potential plugin idea for later versions of GraphiQL
Description
A long requested feature, and what we envisioned for the sidebar plugin ecosystem a few years ago, is a place where users can configure their environments and settings for each environment
the network tab would provide a global setting for:
- default initial headers for each operation (that would show up in the headers tab)
- HTTP POST or GET for queries? http spec
- whether to persist the headers for that environment
- whether to add
Accept: application/graphql-response+json
transparently
the network tab would provide per-environment settings for:
- url
- default initial headers for each operation (that would show up in the headers tab)
- HTTP POST or GET for queries? http spec
- whether to persist the headers for that environment
How will this impact GraphiQL?
fetcher
becomes optional ifenvironments
prop is providedenvironments
prop looks likegraphql-config
object but maybe stricter (difficult to normalise every pattern)@graphiql/toolkit
createGraphiQLFetcher()
becomes an internal detail ifenvironments
prop is provided?
Metadata
Metadata
Assignees
Labels
enhancementgraphiqlplugin proposalGraphiQL Plugin Proposal for reviewGraphiQL Plugin Proposal for reviewpotential pluginA potential plugin idea for later versions of GraphiQLA potential plugin idea for later versions of GraphiQL
Type
Projects
Status
Todo