Why does Modulith flag cyclic dependencies for normal Spring event flows? #1385
Unanswered
shishir-polygon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi builders,
I’m trying to understand the philosophy behind cyclic dependency detection in Modulith.
In a typical Spring application, I have two modules (slices) that communicate via events:
In plain Spring, this works perfectly at runtime. However, when I run ModulithVerifier, it flags a cycle:
Slice A -> Slice B -> Slice A
My question is:
It would be great to understand the design thinking behind this and any recommended approaches.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions