MultiStreamAggregate does not invoke Apply() or ProjectEvent lambda #2503
-
Hello! I've tried to use public class UserBookingByWorkplace
{
[Identity]
public string UserId { get; set; }
}
public class Works : EventProjection
{
public Works()
{
Project<BookingAdded>((e, ops) =>
{
});
}
}
public class Broken : MultiStreamAggregation<UserBookingByWorkplace, string>
{
public Broken()
{
Identity<BookingAdded>(x => x.UserId);
ProjectEvent<BookingAdded>((session, workplace, @event) => { });
}
} I've made sure a options.Projections.Add<Broken>();
options.Projections.Add<Works>(); I set a breakpoint in EventGraph.cs as decompiled by Rider:
The |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I'm going to convert this one to a discussion because I'm gonna go out on a limb and say this is a usage thing, The Multi-stream aggregation is "async" by default. Are you running the async daemon? |
Beta Was this translation helpful? Give feedback.
-
No, there's no setup regarding the Async Daemon so I guess it's off by default and I was not aware this is required. The docs don't mention that it is required. |
Beta Was this translation helpful? Give feedback.
I'm going to convert this one to a discussion because I'm gonna go out on a limb and say this is a usage thing,
The Multi-stream aggregation is "async" by default. Are you running the async daemon?