Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using projection with event type defined by event's class
During an attempt to introduce event_type_resolver into projection I wrote following test. The idea is that you can use two different versions of event with class level method defining the event type. In that case, and in usage presented as in test, the event_type_resolver doesn't bring any value to the projection class. So for now I removed it. Perhaps it does make more sense if we're thinking of other way of using projections?
- Loading branch information
event_type
, no need to peek into class (coupling to test-specific implementation)event_type
method that presents their true type, that's why you had to "fix" it in the Projection handlers