KQ216 — a synced query is its source's
Error · sync-query-is-the-sources · Data
A sync carries only queries its source Component declares.
A sync carries a query its source component doesn't declare. A copy kept by queries is pulled by the holder from the source, so the query is one the source handles: name it by the source's path, or declare it there.
Examples
A copy kept by invoices-since, a query of the billing service rather than of the order service it pulls from, raises KQ216:
component billing {
query invoices-since "Invoices since" about order
sql billing-db "Billing DB" {
root order from order-service over http carries billing/invoices-since
}
}
Kept by orders-since, the order service's own query, it raises nothing:
component billing {
sql billing-db "Billing DB" {
root order from order-service over http carries order-service/orders-since
}
}
© 2026 Extenza Works. All rights reserved.