Skip to content

How can I remove a hook from the app on the fly? #3520

Answered by Mairu
imcodingideas asked this question in Q&A
Discussion options

You must be logged in to vote

You could make it conditional either by using a request parameter like header or query parameter or if it is only for tests, by using a variable.

(https://hooks-common.feathersjs.com/hooks#iff could potentially be useful)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by imcodingideas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants