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
Other context you think may be relevant (JS flavor, OS, etc.): N/A
π§βπ» Repro
ArkType currently allows negative length constraints for both strings and arrays, which doesn't really make sense. IMO negative length constraints should be entirely disallowed, but at a minimum it shouldn't allow setting the maximum length to a negative number since no value will ever satisfy this.
Report a bug
π Search Terms
negative length constraint, max length, min length
𧩠Context
π§βπ» Repro
ArkType currently allows negative length constraints for both strings and arrays, which doesn't really make sense. IMO negative length constraints should be entirely disallowed, but at a minimum it shouldn't allow setting the maximum length to a negative number since no value will ever satisfy this.
Current Behaviour
Expected Behaviour
The text was updated successfully, but these errors were encountered: