-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi,
I'm trying to apply a complex rule that works on the js version, but not in the package:
Example:
{
"or": [
{
"and": [
{ ">": [{ "var": "DebtService" }, 0.5] },
{ ">=": [{ "var": "AnnualRevenue" }, 700] }
]
},
{ ">": [{ "var": "BNIScore" }, 10] }
]
}
data:
{ "DebtService" : 0.7, "AnnualRevenue": 100, "BNIScore": 20}
In this case, the "and" block returns false, and the ">" block returns true. Therefore, the final result should be "True"
The JS version returns true, but when I try it in the .net project with this nuget package, it returns false.
Any suggestions? Maybe the structure in C# should be different than the one used in JS?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels