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
export const customMethods = ['enabledMethod'] as const
...
//BEFORE ALL is called with this
app.service('custom').enabledMethod()
//But not this
app.service('custom').notEnabledMethod()
Expected behavior
Ideally hooks should run on all methods
Actual behavior
Hooks are only ran on enabled methods
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Discord discussion
https://codesandbox.io/p/devbox/feathers-custom-service-hooks-8m28r3?file=%2Fsrc%2Fapp.ts%3A27%2C22
export const customMethods = ['enabledMethod'] as const
...
//BEFORE ALL is called with this
app.service('custom').enabledMethod()
//But not this
app.service('custom').notEnabledMethod()
Expected behavior
Ideally hooks should run on all methods
Actual behavior
Hooks are only ran on enabled methods
The text was updated successfully, but these errors were encountered: