Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
catchError method throws an exception finalize(async () => { await queryRunner.release(); }), ); } } Whenever this interceptor is applied to a route, we start a transaction and attach an entity manager containing the transaction to the request with the key ‘ENTITY_MANAGER’. We export that value in