Skip to content

fix(objectql): aggregate refuses a groupBy path through relations (INVALID_FIELD 400) before any driver runs #52339

fix(objectql): aggregate refuses a groupBy path through relations (INVALID_FIELD 400) before any driver runs

fix(objectql): aggregate refuses a groupBy path through relations (INVALID_FIELD 400) before any driver runs #52339

Triggered via pull request November 19, 2026 15:43
Status Success
Total duration 2m 13s
Artifacts –

pr-automation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 notice
Check Changeset: .changeset/34886-group-by-relation-path-refusal.md#L0
ADR-0087 exemption (no-migration-prescription): No schema key, accepted value or metadata type is added, removed or renamed, and nothing stored is rewritten: what moved is that engine.aggregate refuses a dotted groupBy entry (a relation path, a JSON sub-path, the object's own name as a qualifier), which the REST query door already refused. There is nothing for a migration to rewrite and no tombstone; the one-line fix for a refused query is in the refusal: group by the relation field itself, aggregate the related object, or drop the qualifier.