-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Deprecation warning for listening on Db class events #7345
Comments
Thanks for reporting! Can you please fill out the versions in the template so we know in what environment (Node / MongoDB driver) you are experiencing this issue? This deprecation warning comes from Node, not from the MongoDB driver? |
@mtrezza it seems to come from the native mongo driver: https://stackoverflow.com/questions/66190532/deprecationwarning-listening-to-events-on-the-db-class-has-been-deprecated-and All version >3.6.3 seems to raise this log. |
Thanks for the details, this seems to explain the fix needed:
A search in the Parse Server code base should reveal the places where listening to DB has to be changed. |
I classified this as bug with severity S4 (small/trivial):
|
Wasn't this fixed with: #7626? Why is it open still? |
I did not pull and try with master branch but with the same changes I get no depreciation warnings in an example project. |
I assume we can close this then, thanks for the heads up. |
You're welcome. Thank you for the good work. |
hi @mtrezza technically we are okay now about warnings :) |
Nice, thanks @Moumouls |
New Issue Checklist
Issue Description
Lot of warning from mongodb package after upgrade from #7322
Steps to reproduce
Install parse from master
Run parse server
At each server start parse server log.
Actual Outcome
Too many logs from mongodb pkg
Expected Outcome
No logs
Failing Test Case / Pull Request
Environment
Server
Database
4.4.X
Client
Logs
The text was updated successfully, but these errors were encountered: