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
The validators structure is a bit messy at the moment. Some of them check for arbitrary values (isLength, isInteger) and some don't (isTshirtSize, isNumber).
It makes sense not to check for arbitrary values in isLength and isInteger to make validators easier to understand. That makes it a bit more boilerplaty to write the config, but I think making it easier to understand is the better tradeoff.
The text was updated successfully, but these errors were encountered:
The validators structure is a bit messy at the moment. Some of them check for arbitrary values (
isLength
,isInteger
) and some don't (isTshirtSize
,isNumber
).It makes sense not to check for arbitrary values in
isLength
andisInteger
to make validators easier to understand. That makes it a bit more boilerplaty to write the config, but I think making it easier to understand is the better tradeoff.The text was updated successfully, but these errors were encountered: