Commit graph

8 commits

Author SHA1 Message Date
Yiming Cao
00768de0cc
fix(orm): use uncapitalized model names in OmitConfig and ComputedFieldsOptions (#2496)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 17:47:03 -07:00
Yiming Cao
4b42ed9925
fix(orm): disallow create/update on computed fields and delegate discriminator fields (#2419) 2026-02-27 17:54:09 -08:00
Lukas Kahwe Smith
f8b28b6340
validate computed field configuration on startup (#653) 2026-02-08 10:04:41 +08:00
Yiming Cao
99f68e2f7b
feat(orm): mysql support (#616)
* WIP(orm): mysql support

* WIP: more progress with fixing tests

* WIP: get all client api tests pass

* WIP: get all tests pass

* fix executor

* add MySQL to CI matrix

* fix sqlite test runs

* fix test

* fix delete readback check

* set mysql container max connections

* fix tests

* fix test

* refactor: extract duplicated mysql/pg code into base class

* address PR comments

* refactor: remove order by duplicated code

* refactor: optimize stripTableReference

* addressing PR comments

* fix tests
2026-01-24 23:21:36 +08:00
Yiming Cao
cccd34491d
refactor: rename runtime package to orm (#332) 2025-10-23 22:07:55 -07:00
Yiming Cao
23adf91781
fix: make computed fields on base models work (#321)
* fix: make computed fields on base models work

fixes #284

* update
2025-10-21 08:52:24 -07:00
Yiming Cao
332b1dbb3c
fix(delegate): column name mapping issue when delegates are involved (#296)
* fix(delegate): column name mapping issue when delegates are involved

* fix build

* fix tests
2025-10-12 12:55:30 -07:00
Yiming Cao
411524404e
refactor: move e2e orm tests to e2e project, fix bundle issues (#285)
* refactor: move e2e orm tests to e2e project, fix bundle issues

* add missing package

* include all tests

* more fixes

* update lockfile

* extract policy plugin to its own package

* fix lint

* addressing review comments
2025-10-03 21:06:19 -07:00
Renamed from packages/runtime/test/client-api/computed-fields.test.ts (Browse further)