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.
Sometime is just want to do something based on a message, but using information from my Marten aggregate. But the following code:
[AggregateHandler]publicstaticasync Task HandleAsync(FooCommandcommand,Foofoo){// .. do stuff, but no events or messages to return}
gives me the error:
No events are emitted from handler FooHandler handled by FooHandler.HandleAsync() even though it is marked as an action that would emit Marten events. Either return the events from the handler, or use the IEventStream service as an argument.
Describe the solution you'd like
No error, just execute
Describe alternatives you've considered
I now return an empty events or outgoingmessages array
Additional context
Discussed on Discord
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Sometime is just want to do something based on a message, but using information from my Marten aggregate. But the following code:
gives me the error:
Describe the solution you'd like
No error, just execute
Describe alternatives you've considered
I now return an empty events or outgoingmessages array
Additional context
Discussed on Discord
The text was updated successfully, but these errors were encountered: