You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the handling of events has changed since this PR: 650f15f
The events ChangedQtyInCartEvent and AddToCartEvent have been adjusted
to match the event handling for deferred events of the ModifyBehaviour.
I would suggest the OrderPlacedEvent is also added as a deferred event in the placeOrder function of the CartService.
This has the side effect that we can remove the dependency to the interface EventPublisher as all events are dispatched by the EventRouter provided to the CartService.
I do not see the necessity for this interface, so it could be removed altogether, but feel free to correct me on this one.
Grazie!
The text was updated successfully, but these errors were encountered:
Hello friends,
the handling of events has changed since this PR: 650f15f
The events
ChangedQtyInCartEvent
andAddToCartEvent
have been adjustedto match the event handling for deferred events of the
ModifyBehaviour
.I would suggest the
OrderPlacedEvent
is also added as a deferred event in theplaceOrder
function of theCartService
.This has the side effect that we can remove the dependency to the interface
EventPublisher
as all events are dispatched by theEventRouter
provided to theCartService
.I do not see the necessity for this interface, so it could be removed altogether, but feel free to correct me on this one.
Grazie!
The text was updated successfully, but these errors were encountered: