Open marklin-latte opened 2 years ago
書中的範別如下,那 db 的 connection 實作會是寫在 account 外面還是裡面呢 ? 目前我自已的實作是外面會有一個 『 global module 』概念的東西,裡面有 『 databse 』處理的相關在那,但不確定對與否
- buckpal - account - adapter - in - web - accountController - out - persistence - accountPersistenceAdapter - springDataAccountRepository - domain - Account - Activity - application - SendMoneyService - port - in - SendMoneyUseCase - out - LoadAccountPort - UpdateAccountstatePort
這邊 (Hex.) 和整個 Clean Arch. 都還在消化中,相關問題更理解之後再回頭來加入討論 🙈
書中的範別如下,那 db 的 connection 實作會是寫在 account 外面還是裡面呢 ? 目前我自已的實作是外面會有一個 『 global module 』概念的東西,裡面有 『 databse 』處理的相關在那,但不確定對與否