ITADN

Support Standard Schema (common interface to many JS/TS schema libraries)

#294Opengabrielgrant 创建于 2025-07-03
G
gabrielgrantcommented
According to [the guide](https://modularforms.dev/qwik/guides/validate-your-fields), Valibot and Zod are the only currently-supported schema libs in MF. [The standard schema project](https://github.com/standard-schema/standard-schema) was designed by the creators of Zod, Valibot, and ArkType to make it easier for ecosystem tools to accept user-defined type validators, without needing to write custom logic or adapters for each supported library ([currently supports 13 of the most popular validation libs](https://github.com/standard-schema/standard-schema?tab=readme-ov-file#what-schema-libraries-implement-the-spec))
1 条评论