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
and it's leading to an awkward error message like this: /operators: minItems must NOT have fewer than 1 items when ideally it would be more like /operators: must NOT have fewer than 1 items
It looks like thats due to how DefaultValidationError => getError() is putting a keyword in front of the message but in this case the keyword is making the error more confusing and less human readable.
Let me know if there is something I'm missing.
The text was updated successfully, but these errors were encountered:
I could be using this wrong but I'm validating a schema that has
minItems: 1
in it like this:and it's leading to an awkward error message like this:
/operators: minItems must NOT have fewer than 1 items
when ideally it would be more like/operators: must NOT have fewer than 1 items
It looks like thats due to how
DefaultValidationError
=>getError()
is putting akeyword
in front of the message but in this case the keyword is making the error more confusing and less human readable.Let me know if there is something I'm missing.
The text was updated successfully, but these errors were encountered: