biud436 / stingerloom

Node.js Server Framework
6 stars 1 forks source link

feat: implement transaction propagation rule #21

Closed biud436 closed 1 year ago

biud436 commented 1 year ago

when there is a nested transaction function, We have to implement how to propagate the transaction rollback.

In currently, if the error has catched in TransactionManager, the transaction rollback would be performed automatically due to try-catch block that is used a traditional way.