Skip to content

Commit c559aba

Browse files
nanotaboadaclaude
andcommitted
docs(readme): clarify dependency direction in Layered Architecture section
- Rewords "flow strictly downward" to emphasize consumer→dependency direction, making the layer rule unambiguous Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ecdfd07 commit c559aba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ The codebase is organized into four conceptual layers: Initialization (`Program`
199199

200200
Framework packages and third-party dependencies are co-resident within the layer that consumes them: `Serilog` and `Swashbuckle` inside Initialization, `ASP.NET Core` and `FluentValidation` inside HTTP, `AutoMapper` inside Business, and `EF Core` inside Data. `ASP.NET Core`, `EF Core`, and `MemoryCache` are Microsoft platform packages (yellow); `AutoMapper`, `FluentValidation`, `Serilog`, and `Swashbuckle` are third-party packages (red).
201201

202-
The `Models` package is a **cross-cutting type concern** — it defines shared entities and DTOs consumed across multiple layers via strong dependencies, without containing logic or behavior of its own. Strong dependencies flow strictly downward through the layers, preserving the layer rule: no layer reaches upward to invoke behavior in a layer above it.
202+
The `Models` package is a **cross-cutting type concern** — it defines shared entities and DTOs consumed across multiple layers via strong dependencies, without containing logic or behavior of its own. Dependencies always flow from consumers toward their lower-level types: each layer depends on (consumes) the layers below it, and no layer invokes behavior in a layer above it.
203203

204204
### Color Coding
205205

0 commit comments

Comments
 (0)