Not completed logic which needs transaction.
Author: timsolovCreated Dec 26, 2021Updated Jul 17, 2023
Thank you for your repo and articles. This is awesome work! I'm trying to rewrite my legacy service to the yours approach.
And I have a question:
How to guarantee that all hours in this command will be updated atomic?
Or what will happen when repo will be updated here: https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-example/blob/master/internal/trainings/app/command/schedule_training.go#L56 but one of external service won't be available? Will we have incompleteness here?
Source: ThreeDotsLabs/wild-workouts-go-ddd-example