Commit graph

30 commits

Author SHA1 Message Date
Yiming
b22c6a3ce2
fix: avoid importing prisma-related code into language server (#1441) 2024-05-12 18:35:43 +08:00
Yiming
296ca259c8
fix: compatibility with Prisma's "omit" feature (#1432) 2024-05-11 15:54:35 +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
813748160e
fix(openapi): CreateManyArgs does not take array as input (#1246) 2024-04-12 15:04:23 +08:00
Yiming
0e422adf1a
fix: properly handle nullable fields in openapi generator (#906) 2023-12-25 15:42:42 +08:00
Yiming
42d654fcfa
feat: improved automatic query invalidation for tanstack-query (#790) 2023-10-31 20:11:44 -07:00
Yiming
787a24453c
fix: openapi - do not generate "id" field in create input if the field has default value (#758) 2023-10-13 17:35:02 -07:00
Yiming
b5da998b7f
feat: include raw zod errors in response (#691) 2023-09-14 18:58:19 -07:00
Yiming
b44976dee5
chore: remove aux fields (unused since a few release ago) (#662) 2023-09-01 10:07:26 +08:00
Yiming
0cb7cd1ae5
fix: zod and openapi generation error when "fullTextSearch" is enabled (#658) 2023-08-31 07:25:32 +08:00
Yiming
32d5b262ca
fix: bugs related to model name casing (#645) 2023-08-23 16:16:24 +08:00
Yiming
b0d9154270
feat: support Prisma v5 (#587) 2023-07-18 22:56:53 +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
2280f83cd7
feature: a better "zod" plugin (#521) 2023-06-30 15:25:53 +08:00
Yiming
2855647510
fix: open-api issues (#446) 2023-06-02 09:00:58 +08:00
Yiming
ec65e53f20
fix: change openapi plugin's default flavor to "rpc" (#439) 2023-05-30 08:09:24 +09:00
Yiming
e76ee35bdb
fix: bug fixes for openapi plugin (#432) 2023-05-27 20:57:46 +09:00
Jiasheng
a3473eaec2
fix: Update start line of JsDoc comments in zmodel to start with two … (#428) 2023-05-22 14:50:42 +01:00
Yiming
9eaf2353e4
fix: canonicalize plugin's output folder detection; don't generate aux field unnecessarily (#423) 2023-05-20 22:02:00 +09:00
Yiming
a5848ea5ef
fix: openapi plugin - make sure components are generated even model is marked ignored (#422) 2023-05-20 12:22:42 +09:00
Yiming
4ebaa1fa4a
feat: restful style openapi spec generation (#410) 2023-05-12 10:48:56 -07:00
Yiming
d6fba93e2f
fix: zod plugin issue with lower-case model names (#396) 2023-05-05 17:37:24 -07:00
Yiming
2860f002e5
feat: implement openapi security inferrence and override (#341) 2023-04-10 23:21:07 -07:00
Yiming
3b9e3567b8
feat: improvements of openapi plugin (#335) 2023-04-07 11:51:22 -07:00
Yiming
f1c9765b77
fix: openapi generator relation handling (#320) 2023-03-31 21:01:00 +08:00
Yiming
dd62f8d13c
fix: openapi plugin bugs - relation handling and spec version (#317) 2023-03-31 18:42:31 +08:00
Thomas Horner
fe74a805db feat: generate openapi doc with 3.1.0 version 2023-03-28 23:29:17 -06:00
Yiming
6f7cb0e651
fix: handle @@ignore models properly in plugins (#283) 2023-03-21 11:58:26 +08:00
Yiming
e1600c8bc6
fix: batch bug fixes (#273) 2023-03-19 19:37:00 +08:00
Yiming
dd9963cd35
feat: OpenAPI & fastify adapter (#254) 2023-03-10 17:20:44 +08:00