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.
Currently by default, a query like
won't work unless
profilesservice hasmultioption 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 formulti, but also either a list of providers allowed formulti, or some other option to allow for internalmulticall but disallow external one.One could use feathers-hooks-common
disable-multi-item-changeconditionally withiff(isProvider(...)), butdisable-multi-item-changeis deprecated since feathers-hooks-common@5.0.0.