Update RulesEngineContext.cs (#347)
This commit adds a line to RulesEngineContext.cs to make Entity Framework Core ignore WorkflowRulesToInject as well as WorkflowsToInject, which resolves an error causing the demo program to crash. This fixes issue #346.pull/348/head
parent
083a42489b
commit
d7ba03040d
|
@ -40,8 +40,9 @@ namespace RulesEngine.Data
|
|||
v => JsonSerializer.Deserialize<RuleActions>(v, serializationOptions));
|
||||
|
||||
entity.Ignore(b => b.WorkflowsToInject);
|
||||
entity.Ignore(b => b.WorkflowRulesToInject);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue