actix-web-validator
actix-web-validator copied to clipboard
Use custom message if exists
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"))]
But I found that it is not used in response. So this is a fix
Thanks! Could you add a test?