Open linktohack opened 6 years ago
Here is an example:
AResource.list.data.after((req, res, context) => { console.log('before instance is'); return context.continue; }); // AResource.list.data((req, res, context) => { // console.log('instance is', JSON.stringify(context.instance)); // context.instance = _.map(context.instance, (it: Sequelize.Instance<any>) => db.withoutPassword(it.toJSON())); // return context.continue; // });
If the /data/ block is commented out, the /after/ block is also not executed and vice versa.
I'm using "epilogue": "^0.7.1"
"epilogue": "^0.7.1"
Here is an example:
If the /data/ block is commented out, the /after/ block is also not executed and vice versa.
I'm using
"epilogue": "^0.7.1"