googleapis / nodejs-spanner

Node.js client for Google Cloud Spanner: the world’s first fully managed relational database service to offer both strong consistency and horizontal scalability.
https://cloud.google.com/spanner/
Apache License 2.0
135 stars 99 forks source link

chore(spanner): regenerate proto files #2050

Closed harshachinta closed 3 months ago

harshachinta commented 3 months ago

Protobuf support for the javascript/typescript is limited in the open source environment and direct support with proto compiler (i.e. protoc) is not available the way it’s supported in other languages like Java, Python, Go etc.

In this sample we use https://github.com/protobufjs/protobuf.js/blob/master/cli/README.md to generate the js/ts files Ref: https://docs.google.com/document/d/11yVrfnMNTn5gJM_M1j7vwfm3t2fYAdYU8_WGR6oYPzw/edit?tab=t.0#bookmark=id.3qemojtrt4ut