-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide more abstract concept than the package level for describing the target architecture #28
Comments
The |
A related question is whether we should go below the package level for the architecture description. I can see how some people would like to have that capability, although I personally don't find it too valuable in practice (e.g. I wouldn't mind having a cycle between two classes in the same package). |
A component can comprise one or more package, the architecture is now defined in terms of component relationships. The external format (deptective.json) is still based on packages, using a 1:1 relationship between packages and components.
A component can comprise one or more package, the architecture is now defined in terms of component relationships. The external format (deptective.json) is still based on packages, using a 1:1 relationship between packages and components.
A component can comprise one or more package, the architecture is now defined in terms of component relationships. The external format (deptective.json) is still based on packages, using a 1:1 relationship between packages and components.
A component can comprise one or more package, the architecture is now defined in terms of component relationships. The external format (deptective.json) is still based on packages, using a 1:1 relationship between packages and components.
…by more than one component
A component can comprise one or more package, the architecture is now defined in terms of component relationships. The external format (deptective.json) is still based on packages, using a 1:1 relationship between packages and components.
…by more than one component
Currently the target architecture to validate a code base against is described in terms of allowed package references. This does the job, but it is desirable to have the possibility to describe the architecture in more coarse-grained units, i.e. "components" (which may contain one more packages). My current thinking is along these lines (using JSON as a notation, could be a DSL or anything else of course):
The current design is just a special case of this model, with a 1:1 relationship from component to packages. In that suggested model, an error will be raised, if one package is matched by the expressions of more than one component.
The text was updated successfully, but these errors were encountered: