-
Notifications
You must be signed in to change notification settings - Fork 1
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
Congratulations and question #4
Comments
Hi thanks 😄
Then hen you will building the bus:
With a kind of commandBus like this all your "business" transaction (represents by CommandHandler) will be executed in a db transaction. I will add an example in this repository. |
Thank you. I'm using Rust. It would be awesome to have an example in Rust. :) ♥ |
Have a look here , i have updated this example with a new command_bus wich handle database transaction. |
By the way, it should better to wrap the persistence transaction middleware by the logging middleware. And not the opposite. |
Closed? |
Yes the sqlx rocket prject has been updated here. |
Thanks! |
Congratulations for your project.
Can I ask you how to deal with db transactions calls?
The text was updated successfully, but these errors were encountered: