-
Notifications
You must be signed in to change notification settings - Fork 96
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
Support arrayFilter in patch #373
Comments
I think u can already use it just set it as mongoose option
|
Thanx! I found it, but it's hook. |
You can use a hack, recommended by maintainers for similar needs
You can use it for any other method i.e. create, get, find, or remove as well. |
Ohh, thanx! Good solution. |
For security reasons maintainers decided not to allow passing all kinda params from client. A few things can only be done on server side. This is one of those cases. However i've seen the above pattern being recommended in several other discussions by maintainers when some param has to be passed from client. |
https://docs.feathersjs.com/api/services.html#params here at the end of params section u can read an important note
So its by design... but u can bypass as per ur need with above pattern |
Looks like this is solved. Thanks @arfanliaqat! |
Please support array filtering in patch method.
https://docs.mongodb.com/manual/reference/operator/update/positional-filtered/
The text was updated successfully, but these errors were encountered: