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

Can we access the status code from query result? #390

Closed
KingWu opened this issue Aug 21, 2019 · 2 comments
Closed

Can we access the status code from query result? #390

KingWu opened this issue Aug 21, 2019 · 2 comments

Comments

@KingWu
Copy link

KingWu commented Aug 21, 2019

I wanna to access status code. But, it is encapsulated into FetchResult

@mainawycliffe
Copy link
Collaborator

We are considering exposing low-level information such as status code, headers, etc, which is being tracked by this issue.

That being said, if you follow GraphQL conventions here, all the error data you need should be returned as an error field, with additional information such as code being added under extensions.

@kateile
Copy link

kateile commented Dec 7, 2020

I want the same thing

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

No branches or pull requests

3 participants