actix-web-validator
actix-web-validator copied to clipboard
Rust library for providing validation mechanism to actix-web with Validator crate.
Hi, this is a feature request. is it possible somehow users to be able to configure format for validation errors. Now the only format is plain text but I would...
Hello, I am using custom error messages in my project. Sth like: ``` #[validate(length(min = 1, max = 1000, message = "Title should have length from 1 to 1000"))] ```...
Current suggested way is to import json extractor as ```use actix_web_validator::Json``` and ```ValidatedJson``` is deprecated. The problem with this approach `actix::web::Json` used not only as `Extractor`, but also as `Responder`...
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start)...
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start)...
Hello would it be possible to update validator version ? I face some trait mismatch :/ Thank you
I would love if there would be more documentation about error handlers available. The only thing I found was [this comment](https://github.com/rambler-digital-solutions/actix-web-validator/issues/20#issuecomment-856078177) For example I went with this: ```rs use actix_web_validator::error::flatten_errors;...
In my code, I created a function to allow me to write a custom error handler for JSON data validation errors. It includes something like this: ```rust match error {...