Closed Comoque1 closed 3 years ago
Describe the bug When there is an Opportunity with sub-entity project, the opportunity cannot be removed and error is thrown.
To Reproduce Steps to reproduce the behavior:
Expected behavior When removing an entity, all sub-entities must be removed
Note that there is another flag on TypeORM as per usage on Application entity: { eager: false, cascade: true, onDelete: 'CASCADE' }
Describe the bug When there is an Opportunity with sub-entity project, the opportunity cannot be removed and error is thrown.
To Reproduce Steps to reproduce the behavior:
Expected behavior When removing an entity, all sub-entities must be removed