drop error improvements across the board for localization
This commit is contained in:
@ -123,8 +123,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "MISSING_TYPE",
|
||||
"values": {
|
||||
"discriminator": "type"
|
||||
},
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "family_entity"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -143,8 +147,13 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "NO_FAMILY_MATCH",
|
||||
"values": {
|
||||
"discriminator": "type",
|
||||
"value": "alien"
|
||||
},
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "family_entity"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -274,8 +283,13 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "NO_FAMILY_MATCH",
|
||||
"values": {
|
||||
"discriminator": "type",
|
||||
"value": "bot"
|
||||
},
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "family_light_org"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -397,8 +411,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "INVALID_TYPE",
|
||||
"values": {
|
||||
"expected": "integer"
|
||||
},
|
||||
"details": {
|
||||
"path": "super_amount"
|
||||
"path": "super_amount",
|
||||
"schema": "family_stock_widget"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -509,8 +527,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "MISSING_TYPE",
|
||||
"values": {
|
||||
"discriminator": "type"
|
||||
},
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "oneOf_union"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -530,8 +552,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "INVALID_TYPE",
|
||||
"values": {
|
||||
"expected": "integer"
|
||||
},
|
||||
"details": {
|
||||
"path": "age"
|
||||
"path": "age",
|
||||
"schema": "oneOf_union"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -564,8 +590,13 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "NO_ONEOF_MATCH",
|
||||
"values": {
|
||||
"value": "alien",
|
||||
"discriminator": "type"
|
||||
},
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "oneOf_union"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -643,8 +674,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "INVALID_TYPE",
|
||||
"values": {
|
||||
"expected": "integer"
|
||||
},
|
||||
"details": {
|
||||
"path": "invoice_id"
|
||||
"path": "invoice_id",
|
||||
"schema": "oneOf_bubble"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -736,7 +771,8 @@
|
||||
{
|
||||
"code": "MISSING_KIND",
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "stock_widget_validation"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -768,8 +804,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "STRICT_PROPERTY_VIOLATION",
|
||||
"values": {
|
||||
"property_name": "kind"
|
||||
},
|
||||
"details": {
|
||||
"path": "kind"
|
||||
"path": "kind",
|
||||
"schema": "projected_widget_validation"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -866,8 +906,12 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "INVALID_TYPE",
|
||||
"values": {
|
||||
"expected": "integer"
|
||||
},
|
||||
"details": {
|
||||
"path": "amount"
|
||||
"path": "amount",
|
||||
"schema": "family_panel"
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -886,8 +930,13 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "NO_FAMILY_MATCH",
|
||||
"values": {
|
||||
"value": "unknown_panel",
|
||||
"discriminator": "kind"
|
||||
},
|
||||
"details": {
|
||||
"path": ""
|
||||
"path": "",
|
||||
"schema": "family_panel"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user