-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Add support for mongodb driver v4 #7907
Comments
Currently, TypeORM is only compatible with mongo node v3. |
Looks like we need to upgrade dependency and fix all related issues. This issue is opened for contributions! |
The API has changed enough that it will cause breakages downstream. For now we should pin it to 3 in the peer, I think. |
This new fix allow support to mongodb driver v4 Closes: typeorm#7907
Guys, a lot of time has passed since the release of the 4th version of the driver, full support is needed |
I will try to fix my PR soon |
🚨🚨🚨 |
This version update is a necessity. Mongodb is force migrating to v5 in mid feb 2022. |
Any updates on this? Any time window when this will be available? |
This new fix allow support to mongodb driver v4 Closes: typeorm#7907
This new fix allow support to mongodb driver v4 Closes: typeorm#7907
This new fix allow support to mongodb driver v4 Closes: typeorm#7907
This new fix allow support to mongodb driver v4 Closes: typeorm#7907
This new fix allow support to mongodb driver v4 Closes: typeorm#7907
Issue Description
Exactly in this commit mongodb stopped exporting a Cursor object.
Because of that, every reference to
ParentCursor.Prototype
inMongoEntityManager
(like here) is failing with error "Cannot read property 'prototype' of undefined".Expected Behavior
No error expected.
Actual Behavior
Error "Cannot read property 'prototype' of undefined"
Steps to Reproduce
My Environment
Additional Context
Relevant Database Driver(s)
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: