googleapis / nodejs-bigquery

Node.js client for Google Cloud BigQuery: A fast, economical and fully-managed enterprise data warehouse for large-scale data analytics.
https://cloud.google.com/bigquery/
Apache License 2.0
467 stars 211 forks source link

feat: update types and generation script #1336

Closed alvarowolfx closed 9 months ago

alvarowolfx commented 9 months ago

Update types generation script to handle new Discovery changes and handle a case where the discovery-tsd tool doen't handle fields with dots, like formatOptions.useInt64Timestamp.

Also regenerate types with latest changes.

alvarowolfx commented 9 months ago

LGTM. Is it worth filing a FR to push the escaping logic down into the template processor, or is discovery-tsd not long for this world here?

I'll create an issue on the discovery-tsd project and maybe push a PR to fix it. But as in parallel I'm evaluating moving away from it, this temporary fix is good enough for the time being to push the discovery updates that we have now.