nestjsx / crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
4.04k stars 534 forks source link

Feature request: pre-actions #624

Open cojack opened 3 years ago

cojack commented 3 years ago

Hi, I would like to implement voters (concept from php symfony https://symfony.com/doc/current/security/voters.html) using your crud packages, but there is no way to do this, except using TypeORM subscription which is still not the way I wish to do this, because there is no such thing like beforeLoad but afterLoad, could you add an additional actions that will be executed before db access?