bxcodec / go-clean-arch

Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
MIT License
9.03k stars 1.19k forks source link

How to handle multiple Repository transactions #59

Closed OC0311 closed 2 years ago

OC0311 commented 3 years ago

I have read your article and code to help me a lot, but I have a question, do not know how to solve, when a business needs multiple Repository cooperation, and they are a transaction, how to deal with such a situation? And this is the majority of cases, can you add similar examples in the code?

mcwienczek commented 3 years ago

isn't that a duplicate of https://github.com/bxcodec/go-clean-arch/issues/45 ?

bxcodec commented 2 years ago

duplicated by #45 closing this, refer to #36(PR) for future transactions related