Sharing Domain class between Bounded Context #181
Unanswered
mehdihadeli
asked this question in
Q&A
Replies: 1 comment
-
Hi, from the Readme.md he states that one module cant communicate ou directly access others. Only through events. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @kgrzybek,
In this project you don't use a
shared kernel
component for sharing domain concepts betweenbounded contexts
and in each module you created a duplicate domain concept.For example in
Payment Module
you created aUserId
in payment domain again instead of moving this to ashared kernel
component to sharing between all modules.Which approach is better?
Maybe duplicating domain concepts in each module makes transition to microservices easier, correct?
Beta Was this translation helpful? Give feedback.
All reactions