Commit b6a91c5
committed
feat(sql-orm-client): add User↔Tag M:N fixture via UserTag junction; re-emit contract
Adds a pure-junction UserTag model (userId/tagId, composite PK) and a
User.tags manyToMany relation to the sql-orm-client integration fixture.
Re-emits contract.json + contract.d.ts for both the integration test copy
and the package-local copy (with pgvector refs stripped).
The Tag model stays single-sided (no Tag.users reverse) to avoid a
MutationCreateInputWithRelations overload collision in the existing
collection-mutation-defaults tests.
Emitted via tsx script (c12 config loader unavailable in this sandbox);
verified additivity of the diff and round-trip via SqlContractSerializer.
Signed-off-by: Alexey Orlenko's AI Agent <robot@aqrln.net>1 parent 13816af commit b6a91c5
5 files changed
Lines changed: 355 additions & 4 deletions
File tree
- packages/3-extensions/sql-orm-client/test/fixtures/generated
- test/integration/test/sql-orm-client/fixtures
- generated
Lines changed: 84 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 85 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| |||
74 | 85 | | |
75 | 86 | | |
76 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
77 | 93 | | |
78 | 94 | | |
79 | 95 | | |
| |||
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
| 104 | + | |
88 | 105 | | |
89 | 106 | | |
90 | 107 | | |
| |||
0 commit comments