go-clean-arch icon indicating copy to clipboard operation
go-clean-arch copied to clipboard

why you had put uc with business logic nearly infrastructure details like a sql queries?

Open 0xdeface opened this issue 2 years ago • 2 comments

0xdeface avatar Apr 10 '22 10:04 0xdeface

Hi @0xdeface, can you elaborate more, please?

bxcodec avatar Aug 04 '22 01:08 bxcodec

I have noticed that usecase implementation rarely changes. Hence I prefer to put them in the domain directory. In this way, you don't need to have separate packages for each of the entities in the project.

smithaitufe avatar Oct 28 '22 11:10 smithaitufe