context-mapper-dsl
context-mapper-dsl copied to clipboard
New semantic validator: Show warning if Bounded Contexts of different types are used in relationship
Bounded Contexts can be of different types (reflecting different perspectives: FEATURE, APPLICATION, SYSTEM, TEAM).
Show a compiler warning if there is a Context Map relationship between two contexts of different types.
I understand the user feedback, although a warning seems too hard for me since there are situations where such relationships are legitimate.
For example in our insurance scenario: Most contexts (customer management, policy management, etc.) are features, but printing is an external system. And the self-service context represents a single web-application which is why it has the type application. Makes perfectly sense for me to model it like this.
Idea: A model linter could just give a "hint". However, this issue as low priority for now.