Commit 3b9da58
The consumer-side copy of `IntrospectedColumn.isUnique` in
packages/objectql/src/util.ts declares it "must not drift" from the
producer's contract sentence (`SqlDriver`'s `IntrospectedColumn.isUnique`
in @objectstack/driver-sql). #11654 added a PRIMARY KEY exclusion clause
to the producer's sentence; this copy had not been synced.
Prose only — introspectedSchemaToObjects/convertIntrospectedSchemaToObjects
is unchanged, and the package's own test fixture already modeled a key
column as { primaryKey: true } with no isUnique, so the data already
agreed with the new convention.
Checked the docblock's second "must not drift" copy
(IntrospectedForeignKey.referencedSchema) against its producer too — not
drifted, no action needed.
skip-changeset: no behaviour, no export.
Claude-Session: https://claude.ai/code/session_01W6HFzyH98W1YaQXhJUJt6o
Co-authored-by: Claude <noreply@anthropic.com>
1 parent ae25b0c commit 3b9da58
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
| |||
0 commit comments