samchon / nestia

NestJS Helper Libraries + TypeScript OpenAPI generator
https://nestia.io/
MIT License
1.71k stars 89 forks source link

How to customize error message? #886

Closed thoriqadillah closed 2 months ago

thoriqadillah commented 2 months ago

Can i customize the error message returned by the validator? The message is too verbose and explicit for me. I know maybe its a good this, but can i customize the message though? How do i do it? Thanks

samchon commented 2 months ago

Do not supporting validation error message customization.

It's because number of the error cases are inifite, so that user cannot customize it.