google-api-nodejs-client icon indicating copy to clipboard operation
google-api-nodejs-client copied to clipboard

Warn about renaming `resource` method parameter names

Open tcoffee-google opened this issue 9 years ago • 0 comments

Method parameters named resource are renamed to resource_ to avoid name collision with request body fields, but this not obviously documented, easily overlooked, and currently provides no helpful warning on failure. See https://github.com/google/google-api-nodejs-client/issues/720.

tcoffee-google avatar Mar 29 '17 15:03 tcoffee-google