Open OlivierLardenois opened 2 years ago
I'm also facing this issue and I would add that, on my tests, operators like MoreThan are also not working with MongoDB. I'm searching for entries with timestamp >= 0 and it's returning an empty array when I use MoreThan, so I tried to use Mongo operators and got to this same issue. 😞
Any info or guidance on how this needs to be fixed? I can also help with the PR.
My typeorm version is 0.3.11
@OlivierLardenois, FYI: I just tested this with TypeOrm 0.3.15 and it's working fine.
Issue Description
MongoRepository
find
andextend
typing fail if passing specific mongodb operator.Expected Behavior
No typing error throw
Actual Behavior
extend
error:find
error:Steps to Reproduce
My Environment
Additional Context
Relevant Database Driver(s)
aurora-mysql
aurora-postgres
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
spanner
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?