-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this library alive? #148
Comments
I would say even more! |
The author seems to be inresponsive, I wonder if anyone is willing to maintain a active fork and we can merge bug fixes there? Sorry for disturbing, but it will benefit a lot of us if someone step forward. |
@aiji42 I might implement a feature soon to generate models only; which would result in an output similar to what you get here. |
@NexZhu Thanks for the mention. But to be honest, I don't think I can maintain yet another generator. As you know I have built many so far for the Prisma community, and it takes a lot of my free time. I have been job searching these past months for remote full time roles, so until I get employed, I'm afraid I can't promise anything. |
@omar-dulaimi Thank you for your reaction, I was surprised because I did not expect to get your view as the owner of
I am really looking forward to this. If this is implemented, I will switch to your library. |
Unfortunately I'm not very deep into prisma yet so I wouldn't know what to do with most of these other PRs 😞 @Frando however already re-packaged this library together with my fix at @frando/zod-prisma. Maybe they can merge in some of the other popular/critical PRs as well. I'd suggest to list the ones that are interesting for you guys here. If @Frando agrees we can then re-create them against their fork. |
I've also published a fork @daotl/zod-prisma, cuz I need this PR from @michiim to be merged: #111 This one generates enums instead of importing from If no one else is willing to maintain a fork, I can merge other requested PRs in my fork: https:/daotl/zod-prisma |
I'm not currently using |
OK, feel free to open issues or PRs in my fork until the author picks it up or anyone more suitable appears. |
Sorry for the late reply! Seems like I've been mentioned, I like this project and I always try to use it whenever possible. There are some improvements that needs to be done to ensure a good experience between Prisma and Zod We could go with somebody's fork and perhaps rename the package to avoid confusion |
At @calcom we're using this library extensively, we could offer a sponsorship or maybe adopt and maintain this library as well. cc @PeerRich @hariombalhara |
happy to continue maintaining under calcom/zod-prisma |
Whats the conclusion? Wheres the project going, which fork? |
weve not had a chance to fork this yet |
@PeerRich Please do pings us |
passing this decision to @zomars just fyi: we do have a lot of other things on our plate |
I think somebody should create a discord server for this generator or all prisma generators in general. |
@omar-dulaimi that's probably a thing already in the Prisma discord, or at least it should reside there |
I thought Prisma only has Slack. Must be new or not official. |
@omar-dulaimi yeah my mistake, same thing stands just for slack |
Hey just noticed this. I was seriously considering switching to prisma-zod-generator and just realized that is maintained by you @omar-dulaimi 😅 What are you thoughts of this? We rather contribute to an active project and what do you think are the main differences between this generator and yours? |
Hey @zomars I think it would be great if the author managed this again, because somebody stepping up and managing it won't last for long; it's just what I imagine. This project creates one Zod schema for each Prisma model you have in your Prisma schema. However Prisma Zod Generator A current PR provides the ability to generate |
Inspired by @omar-dulaimi and his I just released the first version and would be grateful for any feedback. I'm sure I missed some use cases. Feel free to open issues on my github repo |
For anyone curious on the current state of Zod Prisma packages, here's an npm trends link: zod-prisma-types is picking up in popularity! |
I want my prisma schema to be the single source of truth, for validation as well. Does your package allow extending the generated zod types inside the schema like this?
|
@TamirCode |
you're linking a different library to my reply, i know that one has the same thing lol |
Hi, I'm also looking for a lib to generate zod schemas from a schema.prisma, I liked the zod-prisma syntax. Has anyone found a good alternative? Enjoy your day 👋 |
https:/chrishoermann/zod-prisma-types seems to be the best currently maintained option. It's similar enough to this library. |
I'm down to maintain this with some other people. |
This is a survival check.
I find this library very useful and I like it very much. However, I am very disappointed that maintenance has stopped and there is no way to fix bugs and support the latest prisma(v4).
@CarterGrimmeisen Do you intend to continue the maintenance of this library? If not, please recruit maintainers and give them proper authority.
P.S. There is another similar library, but I personally don't like it because it generates a lot of files when running genarate.
The text was updated successfully, but these errors were encountered: