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

@ -127,8 +127,12 @@
"errors": [
{
"code": "INVALID_TYPE",
"values": {
"expected": "string"
},
"details": {
"path": "primitives/1"
"path": "primitives/1",
"schema": "hybrid_pathing"
}
}
]
@ -153,14 +157,22 @@
"errors": [
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "name"
},
"details": {
"path": "ad_hoc_objects/1/name"
"path": "ad_hoc_objects/1/name",
"schema": "hybrid_pathing"
}
},
{
"code": "STRICT_PROPERTY_VIOLATION",
"values": {
"property_name": "age"
},
"details": {
"path": "ad_hoc_objects/1/age"
"path": "ad_hoc_objects/1/age",
"schema": "hybrid_pathing"
}
}
]
@ -187,8 +199,13 @@
"errors": [
{
"code": "MINIMUM_VIOLATED",
"values": {
"limit": "10",
"value": "5"
},
"details": {
"path": "entities/entity-beta/value"
"path": "entities/entity-beta/value",
"schema": "hybrid_pathing"
}
}
]
@ -220,8 +237,12 @@
"errors": [
{
"code": "INVALID_TYPE",
"values": {
"expected": "boolean"
},
"details": {
"path": "deep_entities/parent-omega/nested/child-beta/flag"
"path": "deep_entities/parent-omega/nested/child-beta/flag",
"schema": "hybrid_pathing"
}
}
]
@ -275,8 +296,12 @@
"errors": [
{
"code": "NO_ONEOF_MATCH",
"values": {
"primitive": "boolean"
},
"details": {
"path": "metadata_bubbles/2"
"path": "metadata_bubbles/2",
"schema": "ad_hoc_pathing"
}
}
]
@ -293,16 +318,22 @@
"type": "relation",
"constraint": "fk_family_pathing_table_families_widget",
"source_type": "widget",
"source_columns": ["family_pathing_id"],
"source_columns": [
"family_pathing_id"
],
"destination_type": "family_pathing",
"destination_columns": ["id"],
"destination_columns": [
"id"
],
"prefix": "table_families"
}
],
"types": [
{
"name": "widget",
"hierarchy": ["widget"],
"hierarchy": [
"widget"
],
"variations": [
"widget"
],
@ -348,7 +379,9 @@
},
{
"name": "family_pathing",
"hierarchy": ["family_pathing"],
"hierarchy": [
"family_pathing"
],
"schemas": {
"family_pathing": {
"type": "object",
@ -398,26 +431,42 @@
"errors": [
{
"code": "INVALID_TYPE",
"values": {
"expected": "integer"
},
"details": {
"path": "table_families/widget-2/amount"
"path": "table_families/widget-2/amount",
"schema": "family_pathing"
}
},
{
"code": "REQUIRED_FIELD_MISSING",
"values": {
"field_name": "nested_metric"
},
"details": {
"path": "table_families/widget-2/details/nested_metric"
"path": "table_families/widget-2/details/nested_metric",
"schema": "family_pathing"
}
},
{
"code": "STRICT_PROPERTY_VIOLATION",
"values": {
"property_name": "stray_child"
},
"details": {
"path": "table_families/widget-2/details/stray_child"
"path": "table_families/widget-2/details/stray_child",
"schema": "family_pathing"
}
},
{
"code": "STRICT_PROPERTY_VIOLATION",
"values": {
"property_name": "unexpected_root_prop"
},
"details": {
"path": "table_families/widget-2/unexpected_root_prop"
"path": "table_families/widget-2/unexpected_root_prop",
"schema": "family_pathing"
}
}
]