We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
not sure whether there is an option to validate request.form arguments right now, with this package but it would be a nice-to-have feature :)
request.form
For example, to use like this: @validate(form=SomeModel)
@validate(form=SomeModel)
Right now, I am validating request.form simply like this:
try: form = LoginFormModel(**request.form) except ValidationError as ve: return {"validation_error": ve.errors()}, 400
Or is there any other way around?
Any advice would be much appreciated!
The text was updated successfully, but these errors were encountered:
Hello,
this would indeed be a nice feature. This package does not support forms yet. I will try to find time to implement it. Feel free to submit PR.
Thank you for suggestion!
Sorry, something went wrong.
No branches or pull requests
Hi,
not sure whether there is an option to validate
request.form
arguments right now, with this package but it would be a nice-to-have feature :)For example, to use like this:
@validate(form=SomeModel)
Right now, I am validating request.form simply like this:
Or is there any other way around?
Any advice would be much appreciated!
The text was updated successfully, but these errors were encountered: