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

Upgrade nodejs-common #582

Merged

Conversation

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 17, 2019
@stephenplusplus stephenplusplus added do not merge Indicates a pull request not ready for merge, due to either quality or timing. and removed cla: yes This human has signed the Contributor License Agreement. labels Jan 17, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 17, 2019
@googlebot
Copy link

☹️ Sorry, but only Googlers may change the label cla: yes.

@stephenplusplus stephenplusplus added the status: blocked Resolving the issue is dependent on other work. label Jan 18, 2019
@stephenplusplus stephenplusplus removed the status: blocked Resolving the issue is dependent on other work. label Jan 28, 2019
@stephenplusplus stephenplusplus removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 28, 2019
@@ -522,6 +522,13 @@ class Bucket extends ServiceObject {
// Allow for "gs://"-style input, and strip any trailing slashes.
name = name.replace(/^gs:\/\//, '').replace(/\/+$/, '');

const requestQueryObject: {userProject?: string} = {};
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we just declare an external interface for this? Not sure if it will ever be useful for the user or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

While serviceObject(config.methods[method].reqOpts follows the request library's signature, I would still consider it private behavior. I wouldn't document it, since we might come up with something different in the future, and I'm not sure the user would understand exactly what it does / what side effects it has.

@stephenplusplus stephenplusplus merged commit 4007cbe into googleapis:master Jan 28, 2019
@stephenplusplus stephenplusplus deleted the spp--common-upgrade branch January 28, 2019 20:13
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.

3 participants