Skip to content

Return raw response object for all API calls #434

Description

@ryanseys

As a way to support the more unique use-cases that developers can come up with that our library doesn't support out of the box (see below for example bugs), and continue to support backward compatibility to our existing users, we'd like to return the raw response object from the API to all API calls. This will additionally provide an less intrusive way for developers to migrate their code from the generic libraries to our more idiomatic library.

Proposal for documented object name in docs: rawBody, rawResponse, response, resp, apiResponse ?

Addresses #427
Addresses #342

Activity

  1. added this to the Core Stable milestone on Mar 10, 2015
  2. stephenplusplus commented on Mar 10, 2015

    @stephenplusplus
    Contributor

    I like apiResponse for it's unmistakable clarity.

  3. ryanseys commented on Mar 10, 2015

    @ryanseys
    ContributorAuthor

    apiResponse it is!

  4. ryanseys commented on Mar 17, 2015

    @ryanseys
    ContributorAuthor

    Should this be the body (json parsed object) or raw string response?

    Going to do body, makes most sense. Just don't know what we should do for datastore which has a protobuf response type AFAIK.

  5. added a commit that references this issue on Sep 15, 2022
  6. 16 remaining items

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

Metadata

Metadata

Labels

🚨This issue needs some love.coretriage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions