Closed GR0ZA closed 3 months ago
I see you implement an optimistic locking procedure. We have to discuss whether this will be the best approach. Rejecting updates if another update is performed earlier could cause a very bad user experience. I will explain an alternative approach in the related issue. We will talk and discuss what approach suits better our use case.
Work on this PR after PR #194 is merged.
Important:
Ensure consistency on bill update via comparing
updatedAt
from theupdateDTO
withupdatedAt
from the database to check whether an update happened in the meantime.Closes #188 Closes #191