DynamicWhere.ex
DynamicWhere.exv2.1.0·docs

Summary Validation

A Summary is where → group → having → order → page. Its rules guarantee that every Order and Having field can actually be resolved against the grouped projection.

Rules

RuleError Code
GroupBy is required (not null)ArgumentNullException
Order fields must exist in GroupBy fields or aggregate aliasesSummaryOrderFieldMustExistInGroupByOrAggregate({field})
Having condition fields must reference aggregate aliasesHavingFieldMustExistInAggregateByAlias({field})
Note
After grouping, the only addressable members are the GroupBy keys and the aggregation aliases — that is what Order and Having can reference.