Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Fix Deprecation Warning for Server Discovery and Monitoring #2

Merged
merged 1 commit into from
Oct 14, 2019
Merged

Fix Deprecation Warning for Server Discovery and Monitoring #2

merged 1 commit into from
Oct 14, 2019

Commits on Oct 14, 2019

  1. Fix Deprecation Warning for Server Discovery and Monitoring

    When using the module we are getting a DeprecationWarning that current Server Discovery and Monitoring engine is deprecated and will be removed in a future version. To disable the warning, we need to pass the option { useUnifiedTopology: true } on the constructor, howver, since the module uses Connection.openUri we need to update mongoose to a newer version as per the link on mongoose github.
    - Automattic/mongoose#8146
    EC2 Default User committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    67a79a2 View commit details
    Browse the repository at this point in the history