diff --git a/Elsa.sln b/Elsa.sln index 0cccd0d7a..a0950aa3f 100644 --- a/Elsa.sln +++ b/Elsa.sln @@ -292,6 +292,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pipelines", "pipelines", "{ .github\workflows\packages.yml = .github\workflows\packages.yml build.sh = build.sh .github\workflows\bounty.yml = .github\workflows\bounty.yml + .github\workflows\pr.yml = .github\workflows\pr.yml EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{99F2B1DA-2F69-4D70-A2A3-AC985AD91EC4}" diff --git a/src/modules/Elsa.Workflows.Core/Models/ActivityDescriptor.cs b/src/modules/Elsa.Workflows.Core/Models/ActivityDescriptor.cs index cd09df6bd..f243c29bf 100644 --- a/src/modules/Elsa.Workflows.Core/Models/ActivityDescriptor.cs +++ b/src/modules/Elsa.Workflows.Core/Models/ActivityDescriptor.cs @@ -65,7 +65,7 @@ public class ActivityDescriptor /// Instantiates a concrete instance of an . /// [JsonIgnore] - public Func Constructor { get; init; } = default!; + public Func Constructor { get; set; } = default!; /// /// The kind of activity. @@ -75,7 +75,7 @@ public class ActivityDescriptor /// /// The ports of the activity type. /// - public ICollection Ports { get; init; } = new List(); + public ICollection Ports { get; set; } = new List(); /// /// The custom properties of the activity type.