You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues to ensure the issue has not already been raised
Issue
Right now, we only support one driver per Mongoose module. require('./lib/driver') is a singleton.
Ideally, we'd instead have driver as a property on a Mongoose instance. So a new Mongoose instance new mongoose.Mongoose() can have a different driver.
I suspect this will also help clean up some circular dependencies and other build issues (like #12335).
Something to consider for 7.0.
The text was updated successfully, but these errors were encountered:
Prerequisites
Issue
Right now, we only support one driver per Mongoose module.
require('./lib/driver')
is a singleton.Ideally, we'd instead have
driver
as a property on a Mongoose instance. So a new Mongoose instancenew mongoose.Mongoose()
can have a different driver.I suspect this will also help clean up some circular dependencies and other build issues (like #12335).
Something to consider for 7.0.
The text was updated successfully, but these errors were encountered: