Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Dynamic View does not allow !script tag #336

Closed
simonwfarrow opened this issue Sep 12, 2023 · 0 comments
Closed

Dynamic View does not allow !script tag #336

simonwfarrow opened this issue Sep 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@simonwfarrow
Copy link

Description

Hi,

When running the CLI to parse a DSL file into JSON, I recieve the following error if I include a !script tag in a Dynamic View:

com.structurizr.dsl.StructurizrDslParserException: The relationship "!script" does not exist

Steps to reproduce

  1. Create a dynamic view with a script tag i.e.
dynamic * "TestFlow" {
  !script external.groovy
  rel1 -> rel2  
}
  1. Run the DSL file through the CLI to format to JSON i.e. docker run -t --rm -v ${PWD}:/usr/local/structurizr structurizr/cli export -workspace workspaces/test.dsl -format json -output target

Screenshot

No response

Code sample

dynamic * "TestFlow" {
  !script external.groovy
  rel1 -> rel2  
}

Configuration

No response

Severity

Major

Priority

Medium

Resolution

I have no budget, please fix this for free

More information

No response

@simonwfarrow simonwfarrow added the bug Something isn't working label Sep 12, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant