-
Notifications
You must be signed in to change notification settings - Fork 617
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
Error : Unknown modifier: $pushAll #1618
Comments
you have to add { usePushEach: true } on each new Schema options of comment.js cf. below :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This error happens when answering an argument.
$pushAll is deprecated since 2.4 (see https://docs.mongodb.com/v3.2/reference/operator/update/pushAll/) and removed since 4.0.
Installed Mongoose version 4.10.8
But you should really bump all the dependencies since a lot of them have security issues
Request : http://localhost:3001/api/v2/comments/5b3c87d7375a9240517e1701/reply
Response :
The text was updated successfully, but these errors were encountered: