Byron / google-apis-rs

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

support schema RECORD and REPEATED #301

Closed tmokazaki closed 3 years ago

tmokazaki commented 3 years ago

If schema type has RECORD (and/or mode is REPEATED), query seems to be failed. So I tried to add TableCell additional types to decode these schema. I'm not sure, the change here is appropriated.

Please let me know if it is ok or not. Thank you in advance.

Byron commented 3 years ago

Thanks for your contribution. Unfortunately it's in a file that is entirely generated and thus does not allow edits. The generator doesn't support such change either, so making this work here is probably difficult.

cargo-patch might be usable in this case to patch the package locally, or to have a manually maintained vendored version of the crate.

tmokazaki commented 3 years ago

Thank you for your advice. I'll try cargo-patch and maintain by myself.