Nestjs, Transactions, Dependency Injection, Repository Pattern, Repository Design Pattern.
createOrder route with @UseInterceptors(TransactionInterceptor) . This simply ensures all write operations will be wrapped in a transaction in this specific route and repositories first look at the request and see if there’s any active transactions attached, if there is one, that transaction entity