jonsequitur / Its.Cqrs

A set of libraries for CQRS and Event Sourcing, with a Domain-Driven Design flavor.
Other
77 stars 21 forks source link

InitialCatchupEndTime is never set if #214

Closed xavierjohn closed 6 years ago

xavierjohn commented 6 years ago

InitialCatchupEndTime is never set if the last event is an event the projection does not care about.

jonsequitur commented 6 years ago

This is by design, since the time is derived from the events being projected. There is no "universal" clock.

xavierjohn commented 6 years ago

You get the count of the qualified events, so you could use the max ID in that collection.