Skip to main content
Version: 0.4.1

KQ014 — structure stays local

Error · structure-stays-local · Data

part of and references stay inside one Component.

A part of or references crosses into another component. Across systems there is no foreign key; the link is that both components hold the same domain object. Keep part of and references inside one component; a references between two storages of the same component is fine.

Examples​

In a model where order-line is part of order in the order service's storage, a plateau that moves the order line entity alone into billing's storage makes the part of cross into another component, and raises KQ014:

plateau to-be "To be" after as-is { move shop/commerce/order-service/orders-db/order-line to shop/commerce/billing/billing-db/order-line }

Moving the whole orders storage into billing keeps the order and its lines together, and raises nothing:

plateau to-be "To be" after as-is { move shop/commerce/order-service/orders-db to shop/commerce/billing/orders-db }

© 2026 Extenza Works. All rights reserved.