Skip to content
New issue

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

Feature Request: add support custom http request headers for individual requests, similar to Apollo Playground #694

Open
apartensky opened this issue Oct 25, 2023 · 1 comment
Labels

Comments

@apartensky
Copy link

Feature Request
Currently it is only possible to set request headers at the GQL Endpoint configuration.

I would like to set specific headers for each request file that i create, similar to how i can specify variables per request.

Also, it would be great if I could save the headers with the request, so that same headers are persisted even after WebStorm is restarted

Screenshot
Appolo Playground has this feature. It will be very helpful if the plugin supports the same.
image

Version and Environment Details
Operation system: Windows 10.0
IDE name and version:
WebStorm 2023.2.3
Build #WS-232.10072.28, built on October 11, 2023
Licensed to State Street Bank and Trust Company / Antony Partensky
Subscription is active until March 5, 2024.
Runtime version: 17.0.8.1+7-b1000.32 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Non-Bundled Plugins:
com.jetbrains.space (232.10072.29)
com.atlassian.bitbucket.references (2022.1.242)
com.intellij.lang.jsgraphql (4.0.2)
Plugin Verison: 4.0.2

@vepanimas
Copy link
Collaborator

@apartensky Hi! Have you tried IntelliJ HTTP Client? Its team has made a lot of effort integrating GraphQL into the workflow. You should probably give it a try. Here is the link to docs https://www.jetbrains.com/help/idea/http-client-in-product-code-editor.html#graphql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants