-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
excludeFromIndexes using wildcard on non-existing data causes TypeError: Cannot read property 'entityValue' of undefined
.
#787
Comments
The arguments contained inside Did you mean?:
If so, I get a different error: |
Sorry, I no longer use nodejs datastore, and I don't have plan to work on this in the near future. If anyone is interested in this, please take this over. |
I was able to reproduce the same error that @tanishiking is talking about with the following script:
|
Issue needs SLA signoff in order to move forward. Lowering priority accordingly. |
excludeFromIndex
using wildcard.*
on non-existing data causesTypeError: Cannot read property 'entityValue' of undefined
.For example,
As
non_exist_property
inexcludeFromIndexes
is ignored,non_exist_property.*
should be ignored and we should be able to add data.This causes a problem when we try to exclude some optional properties like
and want to exclude
prop2.*
from indexes.Environment details
@google-cloud/datastore
version:6.3.1
Steps to reproduce
failing test case
Related #451
The text was updated successfully, but these errors were encountered: