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
We'd be interested in either alternative string validators len_utf16_max & len_utf16_min or an extra parameter to the string length validator with the encoding.
Thanks for that great lib 😊
The text was updated successfully, but these errors were encountered:
Context
We are using nutype to replicate our frontend validators in the backend.
One tricky aspect is string length validation.
In the javascript frontend we use
.length
to validate the strings which is the length of the UTF-16 string in javascript engine.Currently we are using custom validators for that purpose, like so
Suggestions
We'd be interested in either alternative string validators
len_utf16_max
&len_utf16_min
or an extra parameter to the string length validator with the encoding.Thanks for that great lib 😊
The text was updated successfully, but these errors were encountered: