KQ045 — a primary mark is on one realization of a Component
Error · primary-mark-on-a-component · Realization
Only a Component, or a monolith with nothing inside it, marks a realization primary, and on one realization at most.
A component marks more than one realization primary, or a platform, a module or a monolith that holds components marks one. Keep the mark on the one realization into the domain the component belongs to, and remove it from anything that isn't a component or a monolith with nothing inside it.
Examples
A component marking two of its realizations primary raises KQ045:
platform workshop "Workshop" {
component repair-log "Repair log" : backend
repair-log realizes fleet/repair-bike primary
repair-log realizes renting/unlocking primary
}
With the mark on the one into the domain it belongs to, it raises nothing:
platform workshop "Workshop" {
component repair-log "Repair log" : backend
repair-log realizes fleet/repair-bike primary
repair-log realizes renting/unlocking
}
© 2026 Extenza Works. All rights reserved.