Cyclic dependency after adding ApplicationModuleListener #1127
Unanswered
lennert-vanwaeleghem
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
-
Context:
Now the problem arises that there's a cyclic depedency introduced even though all moduleA does is listen to an event from moduleB even when ModuleA is not using or depending on moduleB. Listening on an event from another module should not introduce a cyclic dependency in my opinion.
I found 3 possible ways to avoid this:
What would be the best course of action here? Am I missing a 4th option maybe?
Beta Was this translation helpful? Give feedback.
All reactions