Skip to content

Conversation

Vitaliy-Svinchyak
Copy link

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

@AndreyErmilov
Copy link
Collaborator

Thanks! Could you add a test?

Roms1383 added a commit to Roms1383/actix-web-validator that referenced this pull request Aug 31, 2021
fix from Vitaliy-Svinchyak (e33) in PR rambler-digital-solutions#26
@AndreyErmilov AndreyErmilov mentioned this pull request Oct 2, 2021
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

Successfully merging this pull request may close these issues.

2 participants