DynamicWhere.ex
DynamicWhere.exv2.1.0·docs

ConditionGroup Validation

A ConditionGroup composes multiple Conditions and nestedSubConditionGroups. Sort values determine the order they appear in the generated expression and must be unique inside each list.

Rules

RuleError Code
Conditions Sort values must be uniqueConditionsUniqueSort
SubConditionGroups Sort values must be uniqueSubConditionsGroupsUniqueSort
Note
The two lists are validated independently — a Condition with Sort = 1 and a SubConditionGroup with Sort = 1 in the same group is valid.