Skip to content

Dependency inversion is the principle that high-level policy should depend on stable abstractions instead of directly depending on low-level implementation details.

The implementation then depends on the abstraction required by the policy boundary.

This direction lets infrastructure vary without forcing the core policy to know provider or framework details.