You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been exploring the current features and noticed that function schema validation, similar to what's available in Zod, isn't part of the project. I think incorporating this could enhance the functionality for users who rely on strict typing for functions.
Yes, you're right, this declaration format will be more in line with current syntax.
My use case involves a list of validators where each has a name and a corresponding validation function. I'm aiming to automate the process of checking argument schemas against these validators. Having function schema validation would streamline this process, ensuring that each function receives the correct type and structure of data before processing.
Thank you for your reply. Can you imagine creating a PR with a function_ schema function? The code does not have to be perfect. Valibot is implemented very simply. You can copy the basic structure from another schema.
Hi,
I've been exploring the current features and noticed that
function schema
validation, similar to what's available in Zod, isn't part of the project. I think incorporating this could enhance the functionality for users who rely on strict typing for functions.I was thinking about something like this
The text was updated successfully, but these errors were encountered: