Error validation [Answered]
I have this in my Dto and when validation is invalid I get this for example
11 Replies
Is there a way to change Password to password in response
because when I try retuning capital case myself like this
it gets snakecased
and I can't have a consistent error check in my react app
response
when I return it
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
ty
it still get lowercased :[
my code
i just need the Email to be uppercase
any way to enforce this ..?
or to enforce it to be lowercase in validation dto
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
✅ This post has been marked as answered!