candy-doc-maven-plugin icon indicating copy to clipboard operation
candy-doc-maven-plugin copied to clipboard

Explicit relation in shared kernel

Open ctacquet opened this issue 2 years ago • 1 comments

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

ctacquet avatar Jun 07 '22 13:06 ctacquet

This issue was necessary because it is impossible to know which package use these objects without checking every relations of every objects.

ctacquet avatar Jun 07 '22 13:06 ctacquet