feat(spec)!: a tree field's reference, when present, must name the declaring object — refused at parse otherwise (#14892)
#21513
pr-automation.yml
on: pull_request
Check PR Size
14s
Check Changeset
47s
Auto Label
8s
Annotations
1 notice
|
Check Changeset:
.changeset/tree-reference-self-only.md#L0
ADR-0087 exemption (no-migration-prescription): No authorable key is renamed, retired or re-typed: `reference` keeps its name, its type and its optionality on a `tree` field, and every self-referencing or reference-less `tree` parses byte-identically to before. What is newly refused is a `tree` whose `reference` names a different object — a shape no prose surface ever documented, that no runtime reader consumed as a cross-object link, and whose one in-repo author (the showcase field zoo) hedged in its own label. The remedy is authoring intent, not a mechanical rewrite: the author decides whether the field is this object's own hierarchy (a self-reference, or no `reference` at all) or a link to another object (a `lookup`), so `objectstack migrate meta` has nothing to rewrite and this changeset carries no rewrite instructions.
|