-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
/RoutingIssues related to signal routingIssues related to signal routingbugSomething isn't workingSomething isn't working
Milestone
Description
This leads to an issue, when there is an event (UserSignedIn
) which creates another event as a reaction (UserConsentRequested
) and they both are dispatched to a single entity (SessionProjection
) with the first event (UserSignedIn
) actually creating it, and the second event requiring a repository (SessionRepository
) query to be routed to the correct target.
As of now, after routing an event to a projection, a DispatchEventToSubscriber
command is posted to the System Bounded Context, after which the next event from queue gets dispatched.
This means that upon dispatching two events from the DispatchQueue
, when it comes to the second event, the first one is not dispatched, but scheduled to be dispatched in the System Bounded Context.
Metadata
Metadata
Assignees
Labels
/RoutingIssues related to signal routingIssues related to signal routingbugSomething isn't workingSomething isn't working