-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction doesn't work #95
Comments
me too 👍 |
@naorye @jane-tran
The "Custom Repository" must be provided to when calling Hope this helps!!! |
Hi all, I had the same problem and it turned out I was missing one thing, so this is an example of a service I had before adding
So after adding
But what I missed was that I forgot to delete
|
I am using nestjs with typeorm and recentrly I added transaction support with typeorm-transactional-cls-hooked.
I made the following method:
connectionsRepository
is defined like that:When I am calling
updateConnection
, I end up withconnection.name
equals to111
even though the transaction was rejected.What I am missing?
The text was updated successfully, but these errors were encountered: