Commit 7251bdb
docs(drivers): scope the
The SQL DDL door (#11567) and the Mongo schema-sync door (#13222) each assert
that `reference_to` "is a REJECTED ALIAS, not a normalised one". After the
`field-reference-to-alias` conversion landed, that is true on the AUTHORING
face only: stored `sys_metadata` rehydration and `os migrate meta` now
NORMALISE the key. Left as written, the next reader infers "a stored
`reference_to` stays verbatim forever" from a driver comment, which is false.
Both docblocks now scope the original assertion to the authoring face and
quote the split the conversion's own registry docblock already states, rather
than inventing a parallel formulation.
Two prose measurements in driver-mongodb that a later spec tightening left
behind are refreshed in the same stroke: `{ type: 'lookup' }` with no
`reference` and `{ type: 'lookup', reference: '' }` no longer "parse
successfully" — the superRefine added on the relationship types refuses both
with `custom` on the `reference` path. The shape still reaches the join-index
arm, because `syncSchema(object, schema: unknown)` casts and forwards verbatim
with no Zod, so no assertion changes.
Comments only: no behaviour, no assertion, no public type. Card #13851.
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
Co-authored-by: Claude <noreply@anthropic.com>reference_to refusal docblocks to the authoring face (#14489)1 parent 8e9e630 commit 7251bdb
3 files changed
Lines changed: 50 additions & 15 deletions
File tree
- packages/drivers
- driver-mongodb/src
- driver-sql/src
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
113 | | - | |
114 | | - | |
115 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
125 | 143 | | |
126 | 144 | | |
127 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1488 | 1488 | | |
1489 | 1489 | | |
1490 | 1490 | | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | 1496 | | |
| |||
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
1502 | 1516 | | |
1503 | 1517 | | |
1504 | 1518 | | |
| |||
0 commit comments