liquidprojections / LiquidProjections

Liquid Projections supports building and maintaining autonomous .NET projection code in an Event Sourcing architecture.
https://www.liquidprojections.net
MIT License
169 stars 25 forks source link

Add support for event mapping based on a base class. #114

Closed d-shtonda closed 6 years ago

d-shtonda commented 6 years ago

When handling events, if the mapping for the base class of event is configured, it will be invoked as well as a handler for a concrete event type, if exists.

d-shtonda commented 6 years ago

@dennisdoomen, updated to run all handlers (base class and specific ones). Also fixed randomly failing spec.

dennisdoomen commented 6 years ago

Did you leave it on WIP on purpose?

d-shtonda commented 6 years ago

It should be good to go.