Architecture limitations

Looking at the editor and the documentation, it seems like relationships are only possible between siblings.

Consider this situation:

  • Container A
    • Module A.1
    • Module A.2
    • Module A.3
  • Container B
    • Module B.1
    • Module B.2
    • Module B.3

Besides internal relationships between the modules in the container I want to make sure that A.1 can only depend on B.1, A.2 only on B.2 and A.3 only on B.3. But since these are not siblings but cousins, this is not possible. I can only have a relationship from A to B. Hence if A.1 depends on B.2, this won’t get flagged by SonarQube.

Can you confirm this? I don’t think I can work around this because the containers are defined by the file structure and they also make sense. Still I’d like to express cousin relationships.

Hi Christian, API Design is not supported in the current release but is on our roadmap.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.