-
Notifications
You must be signed in to change notification settings - Fork 341
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
ConnectMongoOption field client
doesn't work with mongoose in TypeScript
#433
Comments
There is a problem with type
|
i got the above working since a long time without any issue. But today mongoose release v 6.0.0 and now i have an incompatibility issue
and i'm not sure if these needs to be solved by mongoose or by connect-mongo i'm ignoring it for now as i did not see any differences and all still works
|
Is it possible to update mongodb to 4.1.1. there are differences between the 2 packages https://github.com/mongodb/node-mongodb-native/releases/tag/v4.1.1. thanks |
Hi guys. Sorry for the late reply. Does moving |
4.6.0 released |
@mingchuno I'm still seeing this issue with MongoDB set as a peerDep. I removed and reinstalled npm packages too.
Any thoughts? |
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
I have tried to get client connection from opening connection by call
mongoose.connection.getClient()
to use onclient
field ofConnectMongoOptions
but my vscode give me an error.My vscode show this error
The text was updated successfully, but these errors were encountered: