Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

excluding a relationship (in Lite) returns an error of Unexpected identitifier "->" #185

@esnell-midmark

Description

@esnell-midmark

Expected

objective is to not include a particular relationship in the view ;
reference https://docs.structurizr.com/dsl/language#excluding-relationships

Actual

Unexpected identifier "->" at line 110 of /usr/local/structurizr/Views.dsl: exclude notifications -> ca

Steps to reproduce

create a view without the exclude statement and it works ;
add the exclude statement shown below and receive the error

    systemContext ss_RulesEngine "systemRuleViolation" {
        include Platform
        include Notifications
        include ca
        exclude Notifications -> ca //"notified of a disconnected device"
        autoLayout lr
    }

Version/build information

build: 2024.12.07
structurizrLite using Java 21.0.5;
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.version": "22.04"

Severity

Minor

Priority

Low (I have no budget and there's no rush, please fix this for free)

More information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions