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

update database.js to remove the deprecation warning for useNewUrlParser #806

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

dpawson905
Copy link
Contributor

@dpawson905 dpawson905 commented Apr 28, 2019

add useNewUrlParser: true to database.js,

Fixes:
(node:85266) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.

Copy link
Member

@simison simison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Thank you!

cc @dandv wanna have a look at this as well?

@dpawson905 dpawson905 closed this Apr 28, 2019
@dpawson905 dpawson905 reopened this Apr 28, 2019
@dpawson905
Copy link
Contributor Author

Any idea when this will be merged?

@shellscape
Copy link

@dandv @simison folks, can we get a peek at this please?

@firecrackerz
Copy link

@dpawson905 any update on this?

@dpawson905
Copy link
Contributor Author

No, I haven't heard anything

@lqmanh
Copy link

lqmanh commented Jul 23, 2019

Hi,
Are there any chances of this fix being merged?
There are some other PRs like #737 and #744 trying to solve the same problem, and this one was even approved by one of the admins.

@simison simison merged commit 5d5b258 into agenda:master Sep 9, 2019
xenokratos pushed a commit to beedeez/agenda that referenced this pull request Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants