Skip to main content
Version: 0.4.0

KQ026 — a relationship is stated once

Error · duplicate-relationship · Splitting a model · Quick fix in VS Code

A relationship is written once, in one file or across the files of a split model.

The same relationship is written twice: the same kind, the same two ends, the same protocol and the same as Code. The two may be in one file or in two files of a split model. Delete one of them. In VS Code, the quick fix removes the repeat and keeps the first, unless the repeat has a name, a payload format, an authentication scheme or a description the first lacks. Two statements that differ only in their auth are still a repeat: one call has one scheme, so keep the one that's right. Two syncs into one entity are KQ220's.

Examples​

In a platform where billing already calls order-service/orders-api over http, writing that call a second time raises KQ026:

billing -> order-service/orders-api over http auth client-credentials export -> order-service/orders-api over http auth client-credentials

Stating only the new call raises nothing:

export -> order-service/orders-api over http auth client-credentials

© 2026 Extenza Works. All rights reserved.