Closed deinspanjer closed 2 years ago
I was also investigating a separate issue I was having around referencing a softwareSystemInstance in structurizr-lite, and I might have discovered something related to this problem as well.
As described above, the CLI is using DSL v1.19.1. It looks like the structurizr/lite Docker image is using DSL v1.20.0:
% docker exec -t structurizr ls /usr/local/tomcat/webapps/ROOT/WEB-INF/lib/
...
structurizr-dsl-1.20.0.jar
...
Yeah, it looks like this was a feature raised in #133 of structurizr/dsl. Maybe the cli packages just need to be properly pushed out to Docker hub and to Homebrew?
Yeah, it looks like this was a feature raised in #133 of structurizr/dsl. Maybe the cli packages just need to be properly pushed out to Docker hub and to Homebrew?
v1.20.0 has now been released.
Using the instances keyword works fine in the online DSL editor as well as rendering in structurizr-lite and cloud, but if you try to push or validate using the CLI, it throws an error on that line.
The following DSL demonstrates the problem: