Several options not available on DatastoreOptions #517
Labels
api: datastore
Issues related to the googleapis/nodejs-datastore API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Hello,
I use several option flags for datastore that aren't defined in the current type definition.
Today I define my options as 'any' but I'd like to be able to have some type safety.
Examples:
servicePath - this has the hostname of the datastore instance... we use it to ensure unit tests are running against localhost and not a production database...
maxRetries -- self explanatory...
We also set these because of an older bug... but I could see not wanting to add them to options?
'grpc.max_send_message_length': -1, // unlimited
'grpc.max_receive_message_length': -1 // unlimited
Thanks, Chad
The text was updated successfully, but these errors were encountered: