candy-doc-maven-plugin
candy-doc-maven-plugin copied to clipboard
Explicit relation in shared kernel
Description
Is your feature request related to a problem? Please describe. Actually we can identify a package as a shared kernel but we don't know which bounded contexts are using concepts in shared kernel.
Describe the solution you'd like Add relations between 2 or more bounded contexts inside shared kernel annotation. The goal is to have something like that:
package-info.java
@SharedKernel(relations=["canonicalNameOfBoundedContext1", ...])
package foo.bar.shared_kernel;
import io.candydoc.ddd.annotations.SharedKernel;
Describe alternatives you've considered No
Additional context No
This issue was necessary because it is impossible to know which package use these objects without checking every relations of every objects.