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

[graphiql] show response headers in UI #3025

Open
n1ru4l opened this issue Feb 16, 2023 · 4 comments
Open

[graphiql] show response headers in UI #3025

n1ru4l opened this issue Feb 16, 2023 · 4 comments

Comments

@n1ru4l
Copy link
Collaborator

n1ru4l commented Feb 16, 2023

It would be great if there was a way to show the response headers in the GraphiQL UI. This would be great for use cases where you implement stuff like E-Tag and If-None-Match on top of GraphQL.

Screenshot 2023-02-16 at 14 09 46

@acao
Copy link
Member

acao commented Feb 16, 2023

this has been requested many times! this was part of orta's design as well

I propose we implement this as a plugin and an extension of the plugin system, similarly to

#2795

@acao
Copy link
Member

acao commented Feb 20, 2023

I was also hoping this panel could have plugin tabs for operation tracing as well, and other diagnostics/metadata potentially

@klippx
Copy link

klippx commented Dec 27, 2023

Petition to be able to extend this with e.g. duration (as measured from client) in case this is not available in headers.

In Apollo Studio we get this, and as you an see it is not part of headers

Response area, selecting response (default):
Screenshot 2023-12-27 at 13 54 28

Response area, selecting response headers:
Screenshot 2023-12-27 at 13 54 34

@acao
Copy link
Member

acao commented Jan 2, 2024

I have plans to extend the plugin system to support this this year! However, first we need to convert the graphiql state management away from context

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

No branches or pull requests

3 participants