Byron / google-apis-rs

A binding and CLI generator for all Google APIs
http://byron.github.io/google-apis-rs
Other
1.01k stars 131 forks source link

Made doit() in FileInsertCall public #399

Closed hannydevelop closed 1 year ago

hannydevelop commented 1 year ago

The function doit() in FileInsertCall is a private method and inaccessible. This PR fixes that.

Byron commented 1 year ago

PRs cannot change generated code, they have to change the generator instead so all APIs are affected next time they are generated. In other words, no file in the gen/ folder can be edited by hand as they will be overwritten.

Furthermore, in order to make such change, it should be clear which problem it will solve. There is a public API which should be sufficient for any tasks, and if they are not adjustments might be necessary, maybe even on a per-API basis. That's possible, but can't happen unless the problem is understood. What is it that you want to do that the public API doesn't support?