drop error improvements across the board for localization

This commit is contained in:
2026-06-23 17:47:19 -04:00
parent d77765cb61
commit b0377e076e
42 changed files with 8857 additions and 773 deletions

View File

@ -38,7 +38,20 @@
"schema_id": "minLength_0_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "MIN_LENGTH_VIOLATED",
"values": {
"count": "1",
"limit": "2"
},
"details": {
"path": "",
"schema": "minLength_0_0"
}
}
]
}
},
{
@ -52,11 +65,24 @@
},
{
"description": "one grapheme is not long enough",
"data": "\ud83d\udca9",
"data": "💩",
"schema_id": "minLength_0_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "MIN_LENGTH_VIOLATED",
"values": {
"limit": "2",
"count": "1"
},
"details": {
"path": "",
"schema": "minLength_0_0"
}
}
]
}
}
]
@ -91,7 +117,20 @@
"schema_id": "minLength_1_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "MIN_LENGTH_VIOLATED",
"values": {
"count": "1",
"limit": "2"
},
"details": {
"path": "",
"schema": "minLength_1_0"
}
}
]
}
}
]