Standard Schema coming to zod. This is huge. Thanks @colinhacks.com 🚀
Post
Nice 🤩 I did not know about standard-schema 🤯 I'm pretty sure I can leverage it in a generic manner to build arbitraries instances for @fast-check.dev instead of having one specific binding per library. Bookmarking the repo for later
At least I could implement the spec and be a schema validation tool. A very imperfect one as it's not our goal even if we do things that could be related. Depending how much detail gets exposed via this schema some 'generate fake value matching schema' could be doable. But not now 🤔
0 reposts3 likes
@ssalbdivad.dev is there a world where such schemas could be leveraged by other tools like faker or fast-check to generate values whatever the validator? Or would they always need a deeper and tailored integration? (I feel the answer is probably the last one)