From 59a6fa719ae527a88daa3d9245d4f5ad883b9dc6 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Mon, 1 Apr 2024 14:16:43 +0200 Subject: [PATCH] Add WorkflowRuntimeFeature dependency Removed unused namespaces from WorkflowsApiFeature class and added a new dependency on WorkflowRuntimeFeature. This change enhances the code cleanliness and ensures all required dependencies are correctly linked. --- .../Elsa.Workflows.Api/Features/WorkflowsApiFeature.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/Elsa.Workflows.Api/Features/WorkflowsApiFeature.cs b/src/modules/Elsa.Workflows.Api/Features/WorkflowsApiFeature.cs index 2be0f17c2..9f1a3240d 100644 --- a/src/modules/Elsa.Workflows.Api/Features/WorkflowsApiFeature.cs +++ b/src/modules/Elsa.Workflows.Api/Features/WorkflowsApiFeature.cs @@ -1,4 +1,3 @@ -using Elsa.Common.Contracts; using Elsa.Extensions; using Elsa.Features.Abstractions; using Elsa.Features.Attributes; @@ -6,10 +5,8 @@ using Elsa.Features.Services; using Elsa.Http.Features; using Elsa.SasTokens.Features; using Elsa.Workflows.Api.Serialization; -using Elsa.Workflows.Contracts; using Elsa.Workflows.Management.Features; -using Elsa.Workflows.Services; -using Microsoft.Extensions.DependencyInjection; +using Elsa.Workflows.Runtime.Features; namespace Elsa.Workflows.Api.Features; @@ -18,6 +15,7 @@ namespace Elsa.Workflows.Api.Features; /// [DependsOn(typeof(WorkflowInstancesFeature))] [DependsOn(typeof(WorkflowManagementFeature))] +[DependsOn(typeof(WorkflowRuntimeFeature))] [DependsOn(typeof(HttpFeature))] [DependsOn(typeof(SasTokensFeature))] public class WorkflowsApiFeature : FeatureBase