What is the purpose of the ACTIVATE_HOOKS symbol? #2561
-
I've been stepping through feathers v4 in order to build a new plugin with backwards compatibility for v4 and v5 and I have come across an odd Symbol that I'm not sure the purpose of: feathers/packages/feathers/lib/hooks/index.js Lines 137 to 152 in b5e94c4 No matter the library or DB adapter, it seems like Can someone explain what the intent of that symbol is? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It provides functionality to enable hooks on custom service methods that has been added but never been documented. In v5 this has been superseded by the general purpose https://github.com/feathersjs/hooks and the new custom method system |
Beta Was this translation helpful? Give feedback.
It provides functionality to enable hooks on custom service methods that has been added but never been documented. In v5 this has been superseded by the general purpose https://github.com/feathersjs/hooks and the new custom method system