'why am getting this [MONGODB DRIVER] DeprecationWarning: The option `reconnectInterval` is incompatible with the unified topolog

mongodb error

(node:7112) [MONGODB DRIVER] DeprecationWarning: The option reconnectInterval is incompatible with the unified topology, please read more by visiting bit.ly/2D8WfT6 (Use node --trace-deprecation ... to show where the warning was created)

getting above warning continuously!!.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source