-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomerIncidentsSummaryGrouper Issue in Helpdesk sample #172
Comments
I have create a PR #173 that solve this issue |
stavris8894
changed the title
CustomerIncidentsSummary Issue in Helpdesk sample
CustomerIncidentsSummaryGrouper Issue in Helpdesk sample
Sep 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: