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
When using winston-mongodb, I receive the following message in the console:
(node:580) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
The following code solves the issue. However, I was wondering if you would consider adding useUnifiedTopology: true to the default options?
Ran into the same issue. Thank-you @ben4d85 for the solution! At the very least instructions to fix this should be documented somewhere, but agreed that it should be set to a default option.
When using winston-mongodb, I receive the following message in the console:
The following code solves the issue. However, I was wondering if you would consider adding
useUnifiedTopology: true
to the default options?The text was updated successfully, but these errors were encountered: