Repository navigation
fix(objectql): aggregate refuses a groupBy path through relations (INVALID_FIELD 400) before any driver runs #52339
pr-automation.yml
on: pull_request
Check PR Size
38s
Check Changeset
2m 10s
Auto Label
13s
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.
|