Useful hooks for use with Feathers services.
Migration to v3 from v2
- All hooks and utilities are obtained from
feathers-hooks-commonrather than some from, say,
- Some functions supported a deprecated predicate as their last param. This feature has been removed.
- The populate hook now ignores pagination on joined services by default.
- The legacy populate hook -- with signtaure (string, ...) --
will be removed next version. Use the new
setByDot(obj, path, value, true).
deletehook should be used instead of
remove. You will need to wrap
deleteit in an conditional if you want it to work like
stophook may be used instead of
falseinstead of the documented
npm install feathers-hooks-common --save in your project folder.
npm test to run tests.
MIT. See LICENSE.