Hello!
I’ve got a beta agent mounted on my NestJS app, as described in this part of documentation - Forest Admin - [Beta] Developer guide
Data source is SQL (no orm), though nest server uses Typeorm.
My goal is to add a Before Create hook to one of my tables.
It’s not quite clear for me from the documentation - where exactly this .addHook()
method should be called on the table, since currently my app doesn’t have any files generated over my Nest infrastructure, except only .forestadmin-schema.json
.
And the database schema is described by typeorm @Entity decorated classes.
Thanks in advance!