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
It isn't possible to write a general hook which calls another service which will handle every possible case. The problem is you just cannot set up hook.params for the inner call in a way that satifies everyone for every case. softDelete makes such a call and runs into these issues. I suggest you fork softDelete and change https://github.com/feathers-plus/feathers-hooks-common/blob/master/src/services/soft-delete.js#L58-L64 so that on a get it sets hook.params._populate === 'skip', so populate skips the call.
The text was updated successfully, but these errors were encountered:
It isn't possible to write a general hook which calls another service which will handle every possible case. The problem is you just cannot set up hook.params for the inner call in a way that satifies everyone for every case.
softDelete
makes such a call and runs into these issues. I suggest you forksoftDelete
and change https://github.com/feathers-plus/feathers-hooks-common/blob/master/src/services/soft-delete.js#L58-L64 so that on aget
it setshook.params._populate === 'skip'
, sopopulate
skips the call.The text was updated successfully, but these errors were encountered: