Closed ciacco85 closed 11 months ago
Looks like an issue related dependent lib https://dynamic-linq.net/advanced-configuration#prioritizepropertyorfieldoverthetype preference changes. I will try updating the config so that it is compatible to previous way.
This issue is happening as you input name is same as type name and the expression are case insensitive. Your rule works if the input is named differently. Check this fiddle - https://dotnetfiddle.net/yFFz3h
works like a charm
Added an option to disable this behavior in ReSettings:
You can turn it off in case you want to maintain existing naming
I've the following classes
and expressions
But this exception is thrown when executing rule engine
Initially I though it was due to this #209, even if it was working on v4, but then I've realized that 'Attori' was the property name of type Attore and not an enum