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

fix: use requestBody instead of resource #1149

Merged
merged 3 commits into from May 8, 2018
Merged

fix: use requestBody instead of resource #1149

merged 3 commits into from May 8, 2018

Conversation

JustinBeckwith
Copy link
Contributor

This is a backwards compatible change that changes the resource special case name to requestBody. Doing this for 2 reasons:

  1. It's fairly common to have a resource parameter required independent of the body. We have a janky thing right now where we force clients to use resource_ in this case, which is neither obvious nor well documented.

  2. requestBody does a better job of explaining what this object actually is and what it does.

Resolves #721

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 4, 2018
@JustinBeckwith
Copy link
Contributor Author

gentle ping @alexander-fenster

* using `resource` for reasons of back-compat. Cases that need to be covered
* here:
* - user provides just a `resource` with a request body
* - user provides both a `resource` and a `resource_`

This comment was marked as spam.

This comment was marked as spam.

Copy link
Member

@alexander-fenster alexander-fenster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found no constiable this time.

@JustinBeckwith
Copy link
Contributor Author

😛

@JustinBeckwith JustinBeckwith merged commit 9afb5b5 into googleapis:master May 8, 2018
DaniilShmelev referenced this pull request in DaniilShmelev/gplay-release-diff Sep 24, 2021
DaniilShmelev referenced this pull request in DaniilShmelev/gplay-release-diff Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants