Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
route handler completes successfully concatMap(async (data) => { await queryRunner.commitTransaction(); return data; }), // catchError gets called when route handler throws an exception catchError(async (e) => { await queryRunner.rollbackTransaction(); throw e; }), // always executed, even if