Dependency Direction

Back to Dependency Inversion Principle

Dependencies should point inward toward higher-level policies and abstractions, not outward toward low-level details and infrastructure. This is the foundational rule of Clean Architecture and Hexagonal Architecture.

property dip dependency-direction