Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
CallHandler, ExecutionContext, Injectable, NestInterceptor, } from '@nestjs/common'; import { Request } from 'express'; import { Observable, catchError, concatMap, finalize } from 'rxjs'; import { DataSource } from 'typeorm'; export const ENTITY_MANAGER_KEY = 'ENTITY_MANAGER'; @Injectable() export