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

@ -39,7 +39,19 @@
"schema_id": "required_0_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "foo"
},
"details": {
"path": "foo",
"schema": "required_0_0"
}
}
]
}
},
{
@ -194,7 +206,49 @@
"schema_id": "required_3_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "foo\\bar"
},
"details": {
"path": "foo\\bar",
"schema": "required_3_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "foo\rbar"
},
"details": {
"path": "foo\rbar",
"schema": "required_3_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "foo\tbar"
},
"details": {
"path": "foo\tbar",
"schema": "required_3_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "foo\fbar"
},
"details": {
"path": "foo\fbar",
"schema": "required_3_0"
}
}
]
}
}
]
@ -244,7 +298,39 @@
"schema_id": "required_4_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "__proto__"
},
"details": {
"path": "__proto__",
"schema": "required_4_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "toString"
},
"details": {
"path": "toString",
"schema": "required_4_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "constructor"
},
"details": {
"path": "constructor",
"schema": "required_4_0"
}
}
]
}
},
{
@ -255,7 +341,29 @@
"schema_id": "required_4_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "toString"
},
"details": {
"path": "toString",
"schema": "required_4_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "constructor"
},
"details": {
"path": "constructor",
"schema": "required_4_0"
}
}
]
}
},
{
@ -268,7 +376,29 @@
"schema_id": "required_4_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "__proto__"
},
"details": {
"path": "__proto__",
"schema": "required_4_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "constructor"
},
"details": {
"path": "constructor",
"schema": "required_4_0"
}
}
]
}
},
{
@ -281,7 +411,29 @@
"schema_id": "required_4_0",
"action": "validate",
"expect": {
"success": false
"success": false,
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "__proto__"
},
"details": {
"path": "__proto__",
"schema": "required_4_0"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "toString"
},
"details": {
"path": "toString",
"schema": "required_4_0"
}
}
]
}
},
{