sprig and prose docs classic docs
Reference› Errors› SP030 DuplicateTargetError

SP030 DuplicateTargetError

ActiveError — Errors, when they are introduced, are always considered active.

A relationships block names the same target twice under one word. Each connection is written once, so remove the second. Names are compared on what they resolve to, so a bare name and a path to the same thing are the same target.

Raised by

  • Relationships — A relationships block records the connections a concept or dimension actually has.

Decided in

  • ADR029 EdgeBlocks (isIntroducedBy) — Accepted

In the compiler

  • packages/prose-parser/src/errors.js:337