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

Successful responses have no access to the response object #101

Open
chawes13 opened this issue Sep 27, 2021 · 0 comments
Open

Successful responses have no access to the response object #101

chawes13 opened this issue Sep 27, 2021 · 0 comments

Comments

@chawes13
Copy link
Contributor

Since we're only returning the body of the request, there is no way for the client to check meta like status (e.g., 200 vs. 201).

Errors have limited information from the response made available to them:

throw new HttpError(response.status, response.statusText, data, errors)

This will require some research as to the best mechanism for allowing the user to access the entire response (as opposed to just the body)

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

1 participant