Skip to content
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

Support useUnifiedTopology in connection.openUri #8146

Closed
AndrewBarba opened this issue Sep 9, 2019 · 2 comments
Closed

Support useUnifiedTopology in connection.openUri #8146

AndrewBarba opened this issue Sep 9, 2019 · 2 comments
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@AndrewBarba
Copy link

Feature Request:

Add support for useUnifiedTopology in Connection.openUri

Explanation:

Mongoose 5.7 upgraded to MongoDB v3.3 which supports the new useUnifiedTopology option. Currently Mongoose supports this in createConnnection but does not support it in Connection.openUri. We use openUri to delay the actual connecting process until something uses it, thus we do not pass any options into createConnection when our app starts up.

@AndrewBarba
Copy link
Author

This might actually be supported as is, and is just missing from the openUri docs

@vkarpov15 vkarpov15 added this to the 5.7.1 milestone Sep 10, 2019
@vkarpov15 vkarpov15 added needs repro script Maybe a bug, but no repro script. The issue reporter should create a script that demos the issue docs This issue is due to a mistake or omission in the mongoosejs.com documentation and removed needs repro script Maybe a bug, but no repro script. The issue reporter should create a script that demos the issue labels Sep 10, 2019
@vkarpov15
Copy link
Collaborator

Looks like this issue was just in the docs, should be fixed in 5.7.1, which we will release within the next couple days 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

No branches or pull requests

2 participants