Recently I started to learn Clean Architecture implementation. Now I'm stuck on the way to create my entities and create the between them. It's suggested in uncle Bob to have entities in each Domain. I can agree with that. But considering I have a blog, and want to design these two use cases: "Create a Post" and "Authenticate User". For me these two actions are in different domain (Auth and Blog, for example). How to design my architecture in the right way to do this ?
- Having User and Post entities in Blog domain? So what about Auth domain, which also needs User entity?
- Having only Post entity in Blog domain? Then how to make the relationship with User?
- Having User in Blog domain and Auth domain, then Post only in Blog ? So how isn't a code duplication ?
Here my questions. If someone can help, I'll be very grateful. Happy sunday. :face_holding_back_tears: