Hey, ArkType author here! Really cool to see you your interest in these kind of optimizations. There is so much potential!
Totally understanding wanting to not commit too early to a project that has just released its first stable version.
That said, if you're experiencing a DX gap, it likely boils down to familiarity rather than the API itself. In a recent post, I highlighted a way to use the API that doesn't involve strings at all and is still much shorter and more expressive than Zod:
If you do use the primary syntax, once the parallel with TypeScript clicks and you can combine it with `.narrow` and `.pipe` to customize and transform, it's extremely expressive! The functionality is a superset of Zod's and definitions are ~50% shorter on average.
Would love to answer any questions you have on the ArkType Discord! 🚀
Hey, ArkType author here! Really cool to see you your interest in these kind of optimizations. There is so much potential!
Totally understanding wanting to not commit too early to a project that has just released its first stable version.
That said, if you're experiencing a DX gap, it likely boils down to familiarity rather than the API itself. In a recent post, I highlighted a way to use the API that doesn't involve strings at all and is still much shorter and more expressive than Zod:
https://x.com/arktypeio/status/1898719166733136265
If you do use the primary syntax, once the parallel with TypeScript clicks and you can combine it with `.narrow` and `.pipe` to customize and transform, it's extremely expressive! The functionality is a superset of Zod's and definitions are ~50% shorter on average.
Would love to answer any questions you have on the ArkType Discord! 🚀
https://arktype.io/discord
Hey, ReScript Schema author is here. i think you might find it to be the best solution for your problem.
https://dev.to/dzakh/javascript-schema-library-from-the-future-5420