-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing choreography issues: Ordering<->Inventory #225
Comments
- it fixes some choreography issues described wider in #225 - it simplifies Inventory BC a lot. Reservation aggregate is gone. - it eliminates SyncInventoryFromOrdering set of event handlers from processes - it complicates Ordering::Order a bit because it requires an additional step - I wanted to distinguish between OrderSubmitted and OrderPlaced - It was easier to introduce OrderPreSubmitted next to already existing OrderSubmitted for now - Ordering codebase will be improved in next step - needs test for mutation coverage - needs to go async
This one is almost done. Let's try to simplify this. |
Merged to master. Now it is time to go async with this process. |
There are some design issues with choreography across bounded contexts.
We want to eliminate them, starting with Ordering and Inventory BCs.
OrderingProcess needs to be introduced.
Goal architecture:
After going fully async, we will need to take care of UI. Changes from domains can be broadcasted to the users asynchronously with turbo streams (just like read model).
The text was updated successfully, but these errors were encountered: