implied relationships don't inherit tags? #287
-
DescriptionI'm using structurizr DSL and some kotlin scripts for my model. While checking some relations via kotlin I ran into the problem, that implied relationships obviously don't inherit the tags from the original relationship. I wonder whether this is desired behavior. This is a minimal example:
test.kts has the following contents:
Output is
Only the "real" relation C1->C2 has the tags, the others don't have them. Is there any way to check via kotlin whether a relationship is an implied one? Background: I'm trying to implement some sort of "Unit-Test" via kotlin script to ensure all relationships have the correct tags. Steps to reproducesee above ScreenshotNo response Code sampleNo response ConfigurationNo response SeverityMinor PriorityLow ResolutionI have no budget, please fix this for free More informationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
An option might be to check whether the tag "Relationship" exists, but I wonder whether this is reliable. |
Beta Was this translation helpful? Give feedback.
-
Yes, this is the desired behaviour; see structurizr/java#167 for more. |
Beta Was this translation helpful? Give feedback.
Yes, this is the desired behaviour; see structurizr/java#167 for more.