The code sample below fails with the message, Cannot invoke "Object.equals(Object)" because "r" is null at line 10: b -> a, rather than saying that the relationship already exists.
Steps to reproduce
Use the below code sample on structurizr.com/dsl
Screenshot
No response
Code sample
workspace {
model {
a = softwareSystem "A"
b = softwareSystem "B" {
c = container "C"
}
c -> a
b -> a
}
}
For some commentary ... implied relationships are enabled by default, so c -> a creates two relationships (c -> a and b -> a). The following line should then fail, because b -> a exists already.
Description
The code sample below fails with the message,
Cannot invoke "Object.equals(Object)" because "r" is null at line 10: b -> a
, rather than saying that the relationship already exists.Steps to reproduce
Use the below code sample on structurizr.com/dsl
Screenshot
No response
Code sample
Configuration
No response
Severity
Minor
Priority
Low
Resolution
I'm willing to fix this myself and raise a PR
More information
No response