Skip to content

Successful responses have no access to the response object #101

Description

@chawes13

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)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions