Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
interceptor was used. If there’s no entity manager in the request object, it means the operation is not meant to run in a transaction and we get the entity manager from the dataSource object. Once we get the entity manager, we will call getRepository method by passing in the proper entity class to