DynamicWhere.ex
DynamicWhere.exv2.1.0·docs

Segment Validation

A Segment is a list of ConditionSet entries joined by UNION / INTERSECT / EXCEPT. Two rules guarantee a deterministic, well-formed set expression.

Rules

RuleError Code
ConditionSets Sort values must be uniqueSetsUniqueSort
Sets at index 1+ must have Intersection specifiedRequiredIntersection
Note
The first set (after Sort ordering) defines the base collection and has Intersection = null. Every subsequent set combines into the running result, so its Intersection is required.