Index · Quick recall Q&A
1 min readRapid overview
Quick recall Q&A
- Q: Where do CQRS handlers live?
- A: In the Application layer because they orchestrate use cases.
- Q: How do you keep Infrastructure replaceable?
- A: Define interfaces in Application/Domain, implement in Infrastructure, and wire with DI.
- Q: How does Clean Architecture relate to DDD and vertical slices?
- A: DDD shapes the Domain model, while vertical slices organize Application use cases. Clean Architecture defines dependency flow around them.
- Q: When would you relax strict layering?
- A: Only when performance profiling proves a bottleneck and the decision is documented.