Skip to main content
Version: 0.4.0

KQ022 — a connection names its target

Error · connection-names-its-target · Connections · Quick fix in VS Code

A connection lands on an Interface or a Channel, not on a Component or monolith, unless it is in-process.

A connection lands on a component or a monolith, and isn't a delivery out of a channel, a call over in-process or a ui statement. Name the interface (b/api over http) or go through a channel (over events/orders). In VS Code, where the component holds exactly one interface of the protocol's kind, the quick fix names it for you.

Examples​

In a platform where order-service holds an http-api named orders-api, this connection lands on the component itself, so it raises KQ022:

web-shop -> order-service over http

Naming the interface it uses raises nothing:

web-shop -> order-service/orders-api over http

© 2026 Extenza Works. All rights reserved.