Skip to main content
Version: Next

KQ203 — a command or a query is about a Domain Object

Error · command-is-about-a-domain-object · Events, commands and queries

What a command or a query is about is a Domain Object.

As KQ200, for a command or a query: name the domain object it is about.

Examples​

A query about order-service, a component, raises KQ203:

component billing { query amount-due "Amount due" about order-service } shipping -> billing/invoices-api over http carries amount-due

About the invoice, a domain object, it raises nothing:

component billing { query amount-due "Amount due" about invoice } shipping -> billing/invoices-api over http carries amount-due

© 2026 Extenza Works. All rights reserved.