Repository navigation
Commit e2b32f8
docs: #368 — correct the Kotlin claim, add the rule-(e) zero-candidate gap, state the composite fallback
Three corrections to the public record.
I2 — CHANGELOG and PR-BODY both said "Python and Java do not implement this
correlation and are unaffected". That was FALSE for the Java tree's Kotlin Exposed
generator, which had the same first-match-on-target defect (fixed in the preceding
commit). Both now name TypeScript migrate-ts, the C# port and the Kotlin generator,
and say only Python is unaffected.
I3 — the ledger ruled that rule (e)'s ZERO-candidate gap goes in the limitation
list and it never landed. Added: the gate covers a @Cardinality: one relationship
only when its holder declares at least one identity.reference at the target, because
`candidates.length <= 1` skips zero as well as one. The user-visible consequence is
stated plainly — an inverted shape (relationship on one entity, both FKs on the far
side) loads clean and codegen then SILENTLY DROPS the relation.
M5 — the composite-reference limitation was understated: it does not refuse. Rule
(e) accepts a @sourceRefField matching any candidate's first column and the ladder's
.find() returns the FIRST candidate, so such a model loads clean and resolves to
whichever composite reference is declared first.
Also recorded in CHANGELOG, both user-visible: Java's relationship validation moved
from eager-throw-on-first-violation to collect-all-findings (a change to Java loader
OUTPUT), and adopters with the affected shapes will see FK referential-action diffs
on their next `meta migrate`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lfd8nat1WcSpXffd8YetiC1 parent 53edf3f commit e2b32f8
2 files changed
Lines changed: 39 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
120 | 135 | | |
121 | 136 | | |
122 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
215 | 219 | | |
216 | 220 | | |
217 | 221 | | |
218 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
219 | 229 | | |
220 | 230 | | |
221 | 231 | | |
| |||
0 commit comments