Framework Leakage

Kind: anti-pattern

Layer: Enforcement Core

Aliases: Infrastructure-Centric Design, Framework-Centric Core

Record: architecture:framework-leakage

Severity: discouraged

Scope: domain_boundary

Formed by: Let framework classes, decorators, lifecycle assumptions, request objects, ORM entities, or infrastructure annotations enter core domain logic.

Canonical: Ontology

A defect in which framework or infrastructure types, annotations or lifecycles enter core domain logic, so business rules depend on technical specifics.

Listed in Architecture principles, after Utility Dump and before Vendor Lock-In Leakage.

Refactored by

Severity

Category

Force

Negated by

Violates

Linked from