-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
Getting
collection.findOneAndUpdate option [returnOriginal] is deprecated and will be removed in a later version.
Steps to reproduce
Pull master branch and run trigger findOneAndUpdate on db adapter
Actual Outcome
A lot of deprecation warnings
Expected Outcome
No warning
Environment
5.0.0-alpha.1
We need to replace returnOriginal with returnDocument as suggested here: https://jira.mongodb.org/browse/NODE-1812
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
state:releasedReleased as stable versionReleased as stable versionstate:released-alphaReleased as alpha versionReleased as alpha versionstate:released-betaReleased as beta versionReleased as beta versiontype:featureNew feature or improvement of existing featureNew feature or improvement of existing feature