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

Integration with validation library? #275

Closed
zajimumaaa opened this issue May 3, 2023 · 2 comments
Closed

Integration with validation library? #275

zajimumaaa opened this issue May 3, 2023 · 2 comments

Comments

@zajimumaaa
Copy link

Is your feature request related to a problem? Please describe.
It's a bit tedious to validate request body and query param and then manually return appropiate error message, it would be nice if there's some kind of integration with validation library that remove boilerplate to validate and return appropiate error message similiar to python web framework like fastapi that integrate with pydantic.

Describe the solution you'd like
Integration with validation library like validator or garde. Currently garde has an integration with axum here that may be used as reference to integrate garde to salvo

Describe alternatives you've considered

Additional context

@chrislearn
Copy link
Member

Thanks for your suggestion. I have post it before: #168
I will do it when I am free.

@chrislearn
Copy link
Member

Duplicate:#168

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