We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ed4c5 commit 461ce6cCopy full SHA for 461ce6c
src/RulesEngineEditor/Components/RuleEditor.razor
@@ -6,6 +6,7 @@
6
@using RulesEngineEditor.Models
7
@using System.Text.Json
8
@using System.Text.Json.Serialization
9
+@using System.Text.Json.Serialization.Metadata
10
@inject RulesEngineEditor.Services.WorkflowService WorkflowService
11
12
@@ -95,7 +96,8 @@
95
96
//RulesEngine.Models.RuleActions
97
var actions = JsonSerializer.Deserialize<dynamic>(value, new JsonSerializerOptions
98
{
- Converters = { new DynamicJsonConverter() }
99
+ Converters = { new DynamicJsonConverter() },
100
+ TypeInfoResolver = new DefaultJsonTypeInfoResolver()
101
});
102
103
RuleActions newActions = new RuleActions();
0 commit comments