Replies: 4 comments
|
Thanks. I can see the advantage of this layout: each feature has a predictable local structure. |
|
If it's a specific feature, place it in domain/{feature}/{svc} |
|
That makes sense for feature-specific business logic. If I applied this structure blindly, cross-feature runtime logic could get forced into the nearest feature service. My main question is where this structure draws the line between feature-local business logic and cross-feature/runtime application logic. |
|
I moved this to Discussions because this is an architectural direction proposal rather than a confirmed bug or scoped implementation issue. |
Uh oh!
There was an error while loading. Please reload this page.
. ├── Cargo.lock ├── Cargo.toml └── src ├── config.rs ├── db │ └── mod.rs ├── domain │ ├── auth │ │ ├── dto.rs │ │ ├── handler.rs │ │ ├── mod.rs │ │ ├── repo.rs │ │ ├── router.rs │ │ └── svc.rs │ ├── mod.rs │ ├── site │ │ ├── dto.rs │ │ ├── handler.rs │ │ ├── mod.rs │ │ ├── repo.rs │ │ ├── router.rs │ │ └── svc.rs │ └── user │ ├── dto.rs │ ├── handler.rs │ ├── mod.rs │ ├── repo.rs │ ├── router.rs │ └── svc.rs ├── main.rs ├── migrations ├── models │ ├── auth.rs │ ├── mod.rs │ ├── site.rs │ └── user.rs ├── routers.rs └── state.rs 9 directories, 30 filesAll reactions