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 don't think this is a solvable problem if we require :and to be involved.
If instead we have a :distinct property, we can then have the explainer short circuit if the schema pred fails. Some schemas do this, but not -simple-schema.
If we make the necessary changes to -simple-schema's explainer we can get this behavior:
To be an equivalent solution to :and + :fn it needs to be extensible (i.e., anyone can implement a property for any schema), which I have some ideas here: #1025
pulled from #993
Tangential
Depending on the validation it doesn't make sense to display all error messages. Consider:
But in other cases it might, such as a password field:
I don't have a suggestion and I'd need some hammock time pondering about this problem.
The text was updated successfully, but these errors were encountered: