KQ116 — a handler holds what its command or query is about
Lint · handler-holds-its-object · Events, commands and queries
The Component handling a command or a query holds a Data Entity of the Domain Object it is about.
As KQ114, for a command or a query and the component that handles it.
Examples
The billing service holds no orders, so a command about the order that it handles raises KQ116:
component billing {
command cancel-order "Cancel order" about order
}
shipping -> billing/invoices-api over http carries cancel-order
Declared in the order service, which holds the orders, it raises nothing:
component order-service {
command cancel-order "Cancel order" about order
}
shipping -> order-service/orders-api over http carries cancel-order
© 2026 Extenza Works. All rights reserved.