Skip to content

Commit a961b36

Browse files
Merge pull request #2290 from JasperFx/fix/2289-saga-codegen-separate-handler
Fix code gen missing non-saga handler with Separated mode
2 parents 79d769c + 04a97ee commit a961b36

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Wolverine/Runtime/Handlers/HandlerGraph.GeneratesCode.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ private IEnumerable<ICodeFile> explodeAllFiles()
2222
{
2323
yield return chain;
2424
}
25-
else
25+
26+
foreach (var handlerChain in chain.ByEndpoint)
2627
{
27-
foreach (var handlerChain in chain.ByEndpoint)
28-
{
29-
yield return handlerChain;
30-
}
28+
yield return handlerChain;
3129
}
3230
}
3331
}

0 commit comments

Comments
 (0)