Unable to exclude large indexes #1242
Labels
api: datastore
Issues related to the googleapis/nodejs-datastore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is this a client library issue or a product issue?
client lib
Did someone already solve this?
existing feature that is broken
Do you have a support contract?
no
Environment details
@google-cloud/datastore
version: 8.5.0Steps to reproduce
in the code, when passing data with the name/value format rather than a normal object, this functionality seems to be completely skipped.
Simple save function with the
excludeLargeProperties
prop hard coded to true results in error that a field is too large. Given the prop is true, I'd expect it to ignore any large fields.Feasible to include this functionality or do I avoid using the verbose data structure when saving?
The above code with a suitably large field results in errors like this
The text was updated successfully, but these errors were encountered: