You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sianmace - The issue occurs due to the breaking change introduced in the new versions of System.linq.dynamic.core where the members are not accessibly on non-primitive types.
One possible solution is to add the custom types in ReSettings and turning off UseFastExpressionCompiler (as fastexpressioncompiler is causing runtime errors)
I have been using RulesEngine for some time and now have some failing tests when upgrading to v5.0.5
I have replicated the issue in .net Fiddle for both
v5.0.0 - No issue - rule passes - https://dotnetfiddle.net/G0TEtu
and v5.0.5 - Rule does not pass - https://dotnetfiddle.net/ey6kLE
This is a crude simplification of the rule im using in my own tests, just to prove the issue.
The parameters i pass in - one is an object with a collection of guids
the other parameter is a list of strings to match to.
It seems that a == i.ToString() is not returning true
but as you can see in the code, if i execute the same thing as code, it does.
Like i say, this is an introduced change as was working previously as demonstrated in the examples above
Any ideas?
The text was updated successfully, but these errors were encountered: