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: runtime discriminator #21

Closed ryan-mars closed 3 years ago

ryan-mars commented 3 years ago

We need a way to discriminate events at runtime either with data, or when serializing/deserializing JSON.

Sam recommended __typename.

Epic: Event #4