Skip to content

feat: Standard Schema validation #963

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

Closed
1 task done
sandros94 opened this issue Jan 28, 2025 · 0 comments · Fixed by #1068
Closed
1 task done

feat: Standard Schema validation #963

sandros94 opened this issue Jan 28, 2025 · 0 comments · Fixed by #1068
Labels
enhancement New feature or request

Comments

@sandros94
Copy link

Describe the feature

Considering that Standard Schema reached a stable release and it is gaining more and more traction, what are the plans for getValidatedQuery, getValidatedRouterParams and readValidatedBody?

It would be nice to support Standard Schema natively so that developers are free to use their own validation library without creating a dedicated adapter for each, nor a custom function returning a boolean as it currently is for validateData.

This can be implemented without introducing additional dependencies and, in theory, without breaking changes

Additional information

  • Would you be willing to help implement this feature?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant