You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
David Rouquet edited this page Dec 3, 2024
·
27 revisions
Technology overview
Docker
React
Projet inspiré de Bulletproof-react
NestJS
Setup development environment
Code folders overview
Guidelines
Avoiding circular dependencies with nestJS and linkTable
We have implement linkTable with one to many relation with over entities, this allow us to define rights for the entity A on entity B
But this introduce circular dependency problem.
I manage a structure to handle this.But it allow us to import module A and B into the link module but not the linkModule into module A or B.
Module A and Module B take care of there own logic and Link Module handle the logic that concern A AND B modules.