-
-
Notifications
You must be signed in to change notification settings - Fork 318
wildcard * support for hierarchical identifiers #388
-
When I started to use DSL in practice, I realized that is not conivniet to exculde or include relationships, when the model is detailed down to components and hirechical identifiers are enabled. We have only two options: "*" (all) wildcrad (which is too many for a focused user story view) or enumerate every relationship, which is might be quite a lot too. My expectation was that with hirerarchical identifiers I could exclude or include relathipnships with * on container or component level too, like this:
exclude "sysA.contaierA.* -> sysB.*" "sysA.containerB.componentA.* -> sysC.containerA"
This functionality is missing. The possible workaround would be a system of tags with a crafted naming convention or properties and using of expressions, but this is additional thing to care about, maintain and follow.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
Have you tried something like:
exclude "element.parent==sysA.contaierA -> element.parent==sysB"
Beta Was this translation helpful? Give feedback.
All reactions
-
I have not thought about this option, so far it works pretty well for me. Thank you for the hint, @simonbrowndotje.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1