Skip to main content
Version: Next

KQ103 — an orphaned derived element

Lint · orphaned-derived-element · Structure

A derived element is still named by something in the model.

A derived element nothing names any more. Name it again, or remove it with kq prune. See Orphans.

Examples​

The Shipping API was derived from a call that is no longer written, so kq build marks it derived orphan, and it raises KQ103:

component shipping "Shipping" : backend { derived orphan http-api api "Shipping API" }

Named again by a call from the order service, it raises nothing:

component shipping "Shipping" : backend { derived http-api api "Shipping API" } order-service -> shipping/api over http

© 2026 Extenza Works. All rights reserved.