garph
garph copied to clipboard
Zod Integration
Here's a proposal
- Create garph types from Zod types:
const type = g.zodType('name', yourZodType)
- Create garph scalars from Zod types:
const type = g.zodScalar('name', yourZodType)
- Create garph inputs from Zod types:
const type = g.zodInput('name', yourZodType)
- Create Zod types from Garph types:
type.toZod()
Hey folks, I'm seeing some of you have upvoted the issue (@christopher-caldwell, @binamralamsal, @raja-OX, @tyler-mitchell, @BurnedChris, @arthur-fontaine, @joshuabaker, @fenos, @hanssonduck, @ian-os, @sebastian-herrera, @mailaneel, @mihazs).
Maybe you'd be interested in sponsoring this feature in Garph? Let me know.
👋 @mishushakov, sponsoring OSS is not in my student budget :/, but I could contribute and implement (or help to) this feature in some weeks (~4/5 I think) if you want.
Unfortunately it's a no from me. I have started using Pothos.
Hey @arthur-fontaine thanks for showing up! If you have the time and the grit, you should totally give it a go. Once you have any proof-of-concept, feel free to post it here or link to a repository. I'd be glad to be assisting you in achieving this 😄
@christopher-caldwell Fair enough! Could you give us any feedback? What makes Pothos better than Garph in your eyes? Thanks for sticking around for so long 🙏