-
-
Notifications
You must be signed in to change notification settings - Fork 796
Closed
Description
Currently by default, a query like
await context.app.service('profiles').remove(null, {
query: {
user_id: context.id,
},
});won't work unless profiles service has multi option allowing multi delete. Yet, having that allowed, Feathers "authomatically" allows for multi delete external call on profiles, which is suboptimal. I think it could be useful if there were not only "true" and "false" options for multi, but also either a list of providers allowed for multi, or some other option to allow for internal multi call but disallow external one.
One could use feathers-hooks-common disable-multi-item-change conditionally with iff(isProvider(...)), but disable-multi-item-change is deprecated since feathers-hooks-common@5.0.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels