ryan-mars / stochastic

TypeScript framework for building event-driven services. Easily go from Event Storming → Code.
MIT License
6 stars 1 forks source link

Event: DomainEvents should be namespaced by bounded context #45

Open ryan-mars opened 3 years ago

ryan-mars commented 3 years ago

Two identically named events in two different services which share events should not be confused at runtime based upon __typename alone.

ryan-mars commented 3 years ago

We concluded the naming of events could serve as name spacing. If Reservations and Scheduling both had an event named FlightUpdated they should instead be named ReservationFlightUpdated or SchedulingFlightUpdated respectively.

Is this sufficient for now? What's next?