-
Notifications
You must be signed in to change notification settings - Fork 373
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
Upgrade nodejs-common #582
Conversation
|
a76a0d4
to
619676b
Compare
@@ -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} = {}; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Blocked On
feat: allow options to ServiceObject methods nodejs-common#349Release gcs-resumable-upload v0.14.0 gcs-resumable-upload#167fix: return GaxiosError directly gcs-resumable-upload#171fix: favor user options over defaults nodejs-common#353fix: clone default request configuration object nodejs-common#356I took the code from @JustinBeckwith out of #556.