Commit graph

30 commits

Author SHA1 Message Date
Yiming Cao
a93a2db0ab
fix: several compilation issues with the new "prisma-client" generator (#2270) 2025-10-14 17:43:04 -07:00
ScriptType
b5b9efe1e2
Angular tanstack query (#2206)
Co-authored-by: ymc9 <104139426+ymc9@users.noreply.github.com>
2025-08-09 20:54:47 +08:00
Yiming Cao
ceb6be3297
chore: fix tanstack-query tests (#2210) 2025-08-06 22:51:26 +08:00
Yiming
d5c30f9295
feat(tanstack): return query key and pass in abort signal to fetcher (#1903) 2024-12-03 20:12:33 +08:00
Simon Zimmerman
a747d95e1f
refactor: correct minor mistakes picked up by coderabbitai in nitpick comments (#1887)
Co-authored-by: Simon Zimmerman <simon@mysolomon.co.uk>
2024-11-26 18:16:16 -08:00
Simon Zimmerman
a75f8d92c5
fix: optimistic updates for nested queries should work then optional relationships have null values (#1884)
Co-authored-by: Simon Zimmerman <simon@mysolomon.co.uk>
2024-11-25 16:50:59 -08:00
Yiming
04184b95cf
feat(hooks): add "portable" generation mode (#1850) 2024-11-13 17:58:26 -08:00
Yiming
a003be9ee4
feat(hooks): optimistic update for nested relations (#1842) 2024-11-10 14:46:37 -08:00
Yiming
178f6977ca
fix(tanstack-query): non-zenstack queries are accidentally visited during optimistic update (#1775) 2024-10-14 11:54:26 -07:00
Yiming
374e9627bf
fix(hooks): support optimistic update for "upsert" (#1767) 2024-10-09 14:25:30 -07:00
Yiming
a4efa6e3fe
fix(tanstack): incorrect vue-query options typing for vue-query v5 (#1565) 2024-07-08 18:38:32 -07:00
Yiming
18a48770d1
chore: enable corepack and upgrade pnpm (#1543) 2024-06-29 09:08:16 -07:00
Yiming
ed5133c0e8
fix(tanstack): incorrect typing for svelte query hooks (#1492) 2024-06-08 11:49:41 +08:00
Yiming
e15837285e
fix(tanstack): infinite query typing issues (#1480) 2024-06-02 19:29:23 +08:00
Yiming
420df87bf1
merge v2 to dev (#1281)
Co-authored-by: Augustin <43639468+Azzerty23@users.noreply.github.com>
Co-authored-by: Jonathan Stevens <jonathan.stevens@resnovas.com>
Co-authored-by: Jonathan S <jonathan.stevens@eventiva.co.uk>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ErikMCM <70036542+ErikMCM@users.noreply.github.com>
Co-authored-by: Jason Kleinberg <ustice@gmail.com>
Co-authored-by: Jonathan S <punk.gift9475@alias.org.uk>
Co-authored-by: Jiasheng <jiashengguo@outlook.com>
2024-04-24 21:19:41 +08:00
Yiming
d8c15135a7
fix(runtime): always use id fields to address existing entity during upsert (#1273) 2024-04-21 22:36:18 +08:00
Jiasheng
24b189eb61
test: fix test failing in windows (#1153) 2024-03-18 21:27:35 -07:00
Yiming
cc98e30655
fix: tanstack-query, fix the incorrect query typing when user provides a custom selector (#967) 2024-01-29 16:07:55 +08:00
Yiming
0e422adf1a
fix: properly handle nullable fields in openapi generator (#906) 2023-12-25 15:42:42 +08:00
Yiming
673bdd3a4d
fix: swr hooks support no revalidation (#871) 2023-11-29 16:53:17 -08:00
Yiming
93dc7df472
feat: automatic optimistic update for tanstack hooks (#830) 2023-11-15 08:40:15 -08:00
Yiming
42d654fcfa
feat: improved automatic query invalidation for tanstack-query (#790) 2023-10-31 20:11:44 -07:00
Yiming
0d04d8e6da
feat: tanstack-query v5 support (#788) 2023-10-28 22:09:41 -07:00
Yiming
033d95dcde
feat: Nuxt server adapter and tanstack-query for "vue" hooks generation (#757) 2023-10-13 16:55:42 -07:00
Yiming
32d5b262ca
fix: bugs related to model name casing (#645) 2023-08-23 16:16:24 +08:00
Yiming
fc16008ba2
fix: nullify field instead of reject when an optional relation field is not readable (#588) 2023-07-19 12:59:44 +08:00
Yiming
46fec666c3
feat: always use superjson to serialize/deserialize in the api layer (#585) 2023-07-17 18:29:22 +08:00
Yiming
c41980dddb
feat: trpc plugin, generate client helpers to provide prisima-like typing (#510) 2023-06-24 21:33:12 +08:00
Yiming
53716c99c3
feat: implementing sveltekit adapter and refactor server package (#418) 2023-05-18 17:05:39 +09:00
Yiming
9351fc9431
feat: implement tanstack-query generator plugin (#413) 2023-05-15 22:34:22 -07:00