From b9360d3b5fba9bad78fac60c73e0048ba5daecf9 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 12 Nov 2025 17:18:38 +0100 Subject: [PATCH] Add missing service registration for `WorkflowResumer`. --- .../Features/WorkflowRuntimeFeature.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs b/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs index 578dc3010..3d287ea5f 100644 --- a/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs +++ b/src/modules/Elsa.Workflows.Runtime/Features/WorkflowRuntimeFeature.cs @@ -117,15 +117,15 @@ public class WorkflowRuntimeFeature(IModule module) : FeatureBase(module) /// /// A factory that instantiates an . /// - public Func DispatchWorkflowCommandHandler { get; set; } = sp => sp.GetRequiredService(); - - /// - /// A factory that instantiates an . - /// + public Func DispatchWorkflowCommandHandler { get; set; } = sp => sp.GetRequiredService(); + + /// + /// A factory that instantiates an . + /// public Func WorkflowResumer { get; set; } = sp => sp.GetRequiredService(); - - /// - /// A factory that instantiates an . + + /// + /// A factory that instantiates an . /// public Func BookmarkQueueWorker { get; set; } = sp => sp.GetRequiredService(); @@ -285,6 +285,7 @@ public class WorkflowRuntimeFeature(IModule module) : FeatureBase(module) .AddScoped() .AddScoped() .AddScoped(WorkflowResumer) + .AddScoped() .AddScoped() .AddScoped() .AddScoped()