[FEATURE] Refactor to use transactions during pets creation #23
Labels
component:pet-streams
issues for pet-streams service
domain:pet
issues for the pet domain
feature
new feature or request
Projects
Describe the feature
Currently we are manually rollbacking when failure creating a pet. We should change this in order to use transactions so that the rollback happens automatically.
Additional context
https://docs.spring.io/spring-data/r2dbc/docs/1.0.x/reference/html/#r2dbc.datbaseclient.transactions
The text was updated successfully, but these errors were encountered: