There is an issue with the CustomerIncidentsSummaryGrouper: IAggregateGrouper<Guid> class.
The code:
var filteredEvents = events .Where(ev => eventTypes.Contains(ev.GetType())) .ToList();
returns an empty list.
events:
{Marten.Events.Event<Helpdesk.Api.Incidents.IncidentResolved>}
eventTypes:
[0]: {Marten.Events.IEvent`1[Helpdesk.Api.Incidents.IncidentResolved]}
[1]: {Marten.Events.IEvent`1[Helpdesk.Api.Incidents.ResolutionAcknowledgedByCustomer]}
[2]: {Marten.Events.IEvent`1[Helpdesk.Api.Incidents.IncidentClosed]}
Seems that the Contains returns false.
There is an issue with the
CustomerIncidentsSummaryGrouper: IAggregateGrouper<Guid>class.The code:
var filteredEvents = events .Where(ev => eventTypes.Contains(ev.GetType())) .ToList();returns an empty list.
events:
{Marten.Events.Event<Helpdesk.Api.Incidents.IncidentResolved>}eventTypes:
[0]: {Marten.Events.IEvent`1[Helpdesk.Api.Incidents.IncidentResolved]}[1]: {Marten.Events.IEvent`1[Helpdesk.Api.Incidents.ResolutionAcknowledgedByCustomer]}[2]: {Marten.Events.IEvent`1[Helpdesk.Api.Incidents.IncidentClosed]}Seems that the Contains returns false.