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
James Cooper 2022-04-22 13:15:57 +12:00 committed by GitHub
parent 083a42489b
commit d7ba03040d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -40,8 +40,9 @@ namespace RulesEngine.Data
v => JsonSerializer.Deserialize<RuleActions>(v, serializationOptions));
entity.Ignore(b => b.WorkflowsToInject);
entity.Ignore(b => b.WorkflowRulesToInject);
});
}
}
}
}