KQ218 — a sync carries messages or one mechanism
Error · messages-or-one-mechanism · Data
A sync carries messages or one mechanism, never both, and never two mechanisms.
A sync's carries names both messages and a mechanism, or two mechanisms. A copy kept two ways is two syncs: keep one, and write the other on its own line under the entity, marked reconcile.
Examples
A sync that carries an event and the file mechanism at once raises KQ218:
component billing {
sql billing-db "Billing DB" {
root order from order-service over events/orders carries order-service/order-placed, file
}
}
Carrying the event alone, it raises nothing:
component billing {
sql billing-db "Billing DB" {
root order from order-service over events/orders carries order-service/order-placed
}
}
© 2026 Extenza Works. All rights reserved.