2024-10-01 20:36
🧩 In the Domain, you’ll find the entities and the rules related to the business logic of your software. Things like CPF validation or data normalization (uppercase/lowercase) all live here. The Domain is the core layer and shouldn’t know about other parts of the system. Dependencies are only libs useful to the domain itself, and reusable patterns like the Result Pattern are applied here. This ensures that all business rules stay clean and decoupled. 🧶