-
Notifications
You must be signed in to change notification settings - Fork 83
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
Deprecated Mongo connection options in npm page #340
Comments
@ericsj I have the same problem. Apparently there is no definition in the interface: MongoClientOptions to useNewUrlParser and useUnifiedTopology options |
Do you have some workaround for that problem? |
I have this same problem can someone resolve this? |
I can resolve with that:
|
Providing some updates on this issue |
The following code in the project npm page has deprecated connect() options
beforeAll(async () => { connection = await MongoClient.connect(global.__MONGO_URI__, { useNewUrlParser: true, useUnifiedTopology: true, });
Both connection options used are not present on the reference page
The text was updated successfully, but these errors were encountered: