You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Starting a stream is doable outside of an aggregate handler like this. It works, but it's a bit verbose, and not very easy on the eyes, so perhaps just a fancy wrapper method could do the trick
There does not seem to be a similar way of archiving a stream. A solution like above would suffice, even if I'm sure the Wolverine team has ideas for something even nicer. Might be;
Describe the solution you'd like
In a perfect world, both these scenarios would be tied into the aggregate workflow. Starting an event could(?) be:
[AggregateHandler]publicstaticclassMyCommandHandler{publicstatic MyEvent Handle(MyCommandcommand){// if information can be inferred from the event type that something archives/starts a stream?returnnew MyEvent();}}
If more information is required, maybe another attribute or something that easily wraps the handler and indicates that it's an event starting a new stream:
Is your feature request related to a problem? Please describe.
Starting a stream is doable outside of an aggregate handler like this. It works, but it's a bit verbose, and not very easy on the eyes, so perhaps just a fancy wrapper method could do the trick
There does not seem to be a similar way of archiving a stream. A solution like above would suffice, even if I'm sure the Wolverine team has ideas for something even nicer. Might be;
Describe the solution you'd like
In a perfect world, both these scenarios would be tied into the aggregate workflow. Starting an event could(?) be:
If more information is required, maybe another attribute or something that easily wraps the handler and indicates that it's an event starting a new stream:
A very similar API would be very nice for archiving a stream:
The text was updated successfully, but these errors were encountered: