Design has custom nodes
warningcustom-nodes-present
The design places nodes the catalogue does not name, so the rules are blind to that part of the architecture. The count belongs on the design, not only on the individual boxes.
- Severity
- warning
- Selects
- every design
- Components in scope
- 2,366
It looks at every design, and fires when:
- — the design contains a node of kind custom
This design has custom nodes; rules are blind to them. Aim for zero.
This rule is about the whole design, not one node.
This rule names no kind: it reads the design as a whole.
Reference designs whose broken twin names this rule in its header. The gate reads the same header, and fails when a rule no design trips.
# yaml-language-server: $schema=../schema/rule.schema.json # The same hole, counted once for the whole design, so the number is visible on the design and # not only on the boxes. Tripped by designs/reference/custom-escape-hatch/design.broken.yaml. schemaVersion: "1" type: "rule" id: "custom-nodes-present" severity: "warning" select: design: true when: hasNode: kind: "custom" message: "This design has custom nodes; rules are blind to them. Aim for zero."