-
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
Currently, if you have multiple type keywords apply to a single location, you'll get multiple error messages. For example,
{
"allOf": [
{ "type": ["string", "boolean", "number"] },
{ "type": ["string", "number"] },
{ "type": "string" }
]
}The user will get,
- Expected a string, boolean, or number
- Expected a string or number
- Expected a string
This is mostly noise for the user. All they need to see is,
- Expected a string
This task is to update the type error handler to collapse all type errors into a single message.
Metadata
Metadata
Assignees
Labels
No labels