Commit graph

24 commits

Author SHA1 Message Date
Yiming Cao
ba735ae598
addressing more pr comments (#264) 2025-09-22 18:41:39 -07:00
Yiming Cao
f9baaaf012
fix(policy): run pg/sqlite tests, misc dual db compatibility fixes (#260)
* fix(policy): run pg/sqlite tests, misc dual db compatibility fixes

* addressing review comments, cleaning up text search casing

* addressing pr comments

* try fixing CI

* update

* fix tests

* update
2025-09-22 16:16:15 -07:00
Yiming Cao
67d35d55b4
feat: "create" access policy implementation (#242)
* feat: "create" access policy implementation

* fix test

* update
2025-09-07 12:27:50 -07:00
Yiming Cao
e23453dd09
refactor: remove filter from entity mutation hooks (#208)
* refactor: remove filter from entity mutation hooks

* addressing comments

* update
2025-08-26 18:17:38 +08:00
Yiming Cao
b234fb2ab3
refactor: clean up transaction semantics for entity mutation hooks (#206)
* refactor: clean up transaction semantics for entity mutation hooks

* addressing review comments

* update
2025-08-26 11:04:09 +08:00
Yiming Cao
ffbaace54e
fix: issue with multiple on query plugins with args override (#169) 2025-08-14 13:46:32 +08:00
Yiming Cao
ddd5b4daf0
fix: result type of delete API (#168)
* fix: result type of `delete` API

* fix test

* update test
2025-08-14 12:59:59 +08:00
Yiming Cao
ad704f4497
chore: rename query function to proceed for onquery plugin (#167)
* chore: rename query function to proceed for onquery plugin

* update test
2025-08-14 12:49:01 +08:00
Yiming Cao
476821b3d4
chore: simplify plugin contract to improve tsc performance (#164) 2025-08-14 12:26:40 +08:00
Yiming Cao
3d88a5511c
fix: improve plugin config typing (#161)
* fix: improve plugin config typing

* update
2025-08-13 21:00:22 +08:00
Yiming Cao
0f29b39549
chore: use the entire kysely dialect in client options (#130) 2025-07-31 15:18:46 +08:00
Yiming Cao
d6bb0c0759
feat: trigger after mutation hooks after transaction is committed (#123)
* feat: trigger after mutation hooks after transaction is committed

* update
2025-07-29 22:53:54 +08:00
Yiming Cao
3f1af0683c
chore: reorg test schemas (#116) 2025-07-28 18:19:34 +08:00
Yiming Cao
5a746d9e09
feat: implement sequential transaction (#81)
* feat: implement sequential transaction

* Update packages/runtime/src/client/client-impl.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* addressing comments

* update tests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-09 17:19:42 +08:00
Yiming Cao
095e276395
fix: more issues found with formbricks (#79)
- Nested transaction handling
- Fixed issue with concurrent transactions
- Temporarily disabled running Kysely query interceptor in a transaction
2025-07-08 23:19:08 +08:00
Yiming Cao
e81b8bfaa4
feat: make plugins compatible with prisma client extensions (#39)
* feat: make plugins compatible with prisma client extensions

* chore: bump version, fix lint

* update
2025-06-24 18:29:12 +08:00
Yiming Cao
088c41a7dc
chore: upgrade eslint (#36) 2025-06-21 23:26:56 +08:00
Yiming Cao
6cd7e2eff1
refactor: get rid of ds config provider from generated schema (#28)
* refactor: get rid of ds config provider from generated schema

* update
2025-06-17 21:03:48 +08:00
Yiming Cao
a43be54c95
docs: add README (#27) 2025-06-17 17:18:56 +08:00
Yiming Cao
0450d8beb9
more test cases pass for policy (#4) 2025-05-14 23:01:10 -07:00
Yiming Cao
52aec66c95
feat: got policies to work with todo sample (#1)
* WIP

* got todo sample running with policies
2025-05-08 18:35:38 -07:00
ymc9
8875f06836 refactor: implement a custom kysely executor for better control how queries are executed 2025-04-22 22:26:15 -05:00
ymc9
b3d6aa008c transactions and revised query hooks 2025-04-07 12:20:24 -07:00
ymc9
cfbecb1431 more plugin tests 2025-04-06 20:14:06 -07:00