Skip to content
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

Supporting standard schema #4983

Open
timothee-durand opened this issue Feb 5, 2025 · 1 comment
Open

Supporting standard schema #4983

timothee-durand opened this issue Feb 5, 2025 · 1 comment

Comments

@timothee-durand
Copy link

Colin McDonnell recently propose a standard schema for validation library that a lot of them already implemented. It allows consumer of the consumers of the library that implement it to use any library that they want without having to add a converter (like toTypedSchema for zod). It also allow them to have multiple validation library for multiple need without having to think about inter-compatibility.

Do you plan on implement it ?

@logaretm
Copy link
Owner

logaretm commented Feb 6, 2025

It is planned yes, but maybe at v5 since it means we will be dropping the out of the box support for yup and have to deprecate zod/valibot adapters.

I already implemented it for https://github.com/formwerkjs/formwerk/ if you want to take a look at that, which is where my current focus is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants