app ├── controllers │ ├── task.py │ └── user.py ├── models │ ├── task.py │ └── user.py ├── repositories │ ├── task.py │ └── user.py └── schemas ├── extras │ ├── current_user.py │ ├── health.py │ └── token.py ├── requests │ ├── tasks.py │ └── users.py └── responses ├── tasks.py └── users.py
apps ├── tasks │ ├── controller.py │ ├── models.py │ ├── repository.py │ ├── schemas.py │ └── service.py └── users ├── controller.py ├── models.py ├── repository.py ├── schemas.py └── service.py
> Sometimes these are still required by our tools (like controllers or ORM units-of-work) but we keep our cross-slice logic sharing to a minimum.
That's exactly where you shouldn't be using it! Relying on it as dogma will result in chaos.