sebelga / gstore-node

Google Datastore Entities Modeling for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New query operators

acatalina opened this issue · comments

Related Issues

Motivation

So very exciting news, at least for me, with new query operators coming to datastore nodejs. I know we probably have to wait for the implementation in the official repo but I wanted to log it in case no one else has seen it.

Proposed solution

Not sure how it works under-the-hood. I tried using the operator with the current library and gave me an 3 INVALID_ARGUMENT: a property filter must specify an operator so guessing we do need to wait for the core library to be updated? It looks to me on this end we only need to update the docs and typescript definitions?

@acatalina starting from NodeJS v18 (npm v8) there is a possibility to override dependencies for other packages inside package.json.
Here is how I use overrides with @google-cloud/datastore@8.0.0 in order to start using new query operators:

"gstore-node@7.2.6": {
      "@google-cloud/datastore": "$@google-cloud/datastore"
    }