You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using nestia ^3.2.1, and the current error message is a bit too verbose. I'm aware that you can't add error message because the possibilities is infinite as stated in #886
but, what if you introduce new tag instead for the custom error message such as
interfaceFoo{bar: string&tags.Message<"Bar is required">}
or
interfaceFoo{bar: number&tags.Max<3,"Maximum number is 3">}
so there is no need to check the possibilities. if the message is defined, always fallback to the custom one
The text was updated successfully, but these errors were encountered:
I'm using nestia ^3.2.1, and the current error message is a bit too verbose. I'm aware that you can't add error message because the possibilities is infinite as stated in #886
but, what if you introduce new tag instead for the custom error message such as
or
so there is no need to check the possibilities. if the message is defined, always fallback to the custom one
The text was updated successfully, but these errors were encountered: