Fix EventBase child activity not executing OnEventReceived method (#6687)

* Initial plan for issue

* Add OnEventReceivedAsync call in EventBase.EventReceivedAsync

Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com>
This commit is contained in:
Copilot 2025-05-24 23:33:37 +02:00 committed by GitHub
parent 239be9bf1c
commit f041f55624
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,6 +36,7 @@ public abstract class EventBase<TResult> : Trigger<TResult>
{
var input = (TResult?)context.GetEventInput();
Result.Set(context, input);
await OnEventReceivedAsync(context, input);
await context.CompleteActivityAsync();
}
}