Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
advanced way of dealing with transactions. The advantage of the advanced way is that it prevents code duplication. Whenever the transaction interceptor is used on a route, if repository classes are implemented properly, the queries will automatically run in a transaction. I hope this article was