From 5d47c00afdfa5c97d2c802f661a08ad8e06f9cb1 Mon Sep 17 00:00:00 2001 From: stuartmcgillivray <59926160+stuartmcgillivray@users.noreply.github.com> Date: Thu, 23 Jun 2022 11:02:58 +0100 Subject: [PATCH] Mongo db can't write to read only properties (#3150) --- src/core/Elsa.Abstractions/Models/ActivityDefinition.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Elsa.Abstractions/Models/ActivityDefinition.cs b/src/core/Elsa.Abstractions/Models/ActivityDefinition.cs index d45d07cd03..6da894c417 100644 --- a/src/core/Elsa.Abstractions/Models/ActivityDefinition.cs +++ b/src/core/Elsa.Abstractions/Models/ActivityDefinition.cs @@ -13,6 +13,6 @@ public class ActivityDefinition public bool LoadWorkflowContext { get; set; } public bool SaveWorkflowContext { get; set; } public ICollection Properties { get; set; } = new List(); - public IDictionary PropertyStorageProviders { get; } = new Dictionary(); + public IDictionary PropertyStorageProviders { get; set; } = new Dictionary(); } } \ No newline at end of file