You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to scope() records through hooks. I use scopes frequently in my API to allow users with certain roles access to mutate objects. I know I can just where={}, but scopes are way more convenient and centralized to the model.
@bparise - If you want to submit a PR. I will endorse it. This would be a great feature! If you don't have time I will try and squeeze it in - let me know. If you want to do it, make sure to write tests and update the docs. You go to a particular page at https://docs.feathersjs.com/, then click the "Edit this page" link in the top.
I want to scope() records through hooks. I use scopes frequently in my API to allow users with certain roles access to mutate objects. I know I can just where={}, but scopes are way more convenient and centralized to the model.
Would be nice to:
Right now, this setting is ignored because you have to scope records like:
I can do a PR for this, just let me know!
The text was updated successfully, but these errors were encountered: