.NET: fix: FanIn Edge does not work (#541)

* fix: FanIn Edge does not work

We were not creating the state for FanIn edge in EdgeMap correctly, leading to crashes. After fixing that, it turns out the logic in FanInEdgeRunner was only forwarding the last message, not all of them.

* fix: Remove duplicate code and fix typo
This commit is contained in:
Jacob Alber
2025-08-28 22:25:57 +00:00
committed by GitHub
parent 0c28935382
commit e1147273da
8 changed files with 392 additions and 10 deletions
@@ -2,7 +2,7 @@
namespace Microsoft.Agents.Workflows.UnitTests;
internal sealed class ForwardMessageExecutor<TMessage> : Executor where TMessage : notnull
internal sealed class ForwardMessageExecutor<TMessage>(string? id = null) : Executor(id) where TMessage : notnull
{
protected override RouteBuilder ConfigureRoutes(RouteBuilder routeBuilder)
{