Open fratzinger opened 1 year ago
Use regular hooks in around with beforeAround & afterAround:
beforeAround
afterAround
import { beforeAround } from 'feathers-hooks-common'; service.hooks({ around: { find: [ beforeAround((context) => { // do whatever you need to do }), // other around hooks ] } });
Use regular hooks in around with
beforeAround
&afterAround
: