chore: JSPG Engine tuple decoupling and core routing optimizations
This commit is contained in:
@ -2,25 +2,23 @@
|
||||
{
|
||||
"description": "merging: properties accumulate",
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "base_0",
|
||||
"schemas": {
|
||||
"base_0": {
|
||||
"properties": {
|
||||
"base_prop": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"merge_0_0": {
|
||||
"type": "base_0",
|
||||
"properties": {
|
||||
"child_prop": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"$id": "merge_0_0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -48,7 +46,9 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "INVALID_TYPE",
|
||||
"details": { "path": "base_prop" }
|
||||
"details": {
|
||||
"path": "base_prop"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -58,9 +58,8 @@
|
||||
{
|
||||
"description": "merging: required fields accumulate",
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "base_1",
|
||||
"schemas": {
|
||||
"base_1": {
|
||||
"properties": {
|
||||
"a": {
|
||||
"type": "string"
|
||||
@ -70,7 +69,7 @@
|
||||
"a"
|
||||
]
|
||||
},
|
||||
{
|
||||
"merge_1_0": {
|
||||
"type": "base_1",
|
||||
"properties": {
|
||||
"b": {
|
||||
@ -79,10 +78,9 @@
|
||||
},
|
||||
"required": [
|
||||
"b"
|
||||
],
|
||||
"$id": "merge_1_0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -109,7 +107,9 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "REQUIRED_FIELD_MISSING",
|
||||
"details": { "path": "a" }
|
||||
"details": {
|
||||
"path": "a"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -126,7 +126,9 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "REQUIRED_FIELD_MISSING",
|
||||
"details": { "path": "b" }
|
||||
"details": {
|
||||
"path": "b"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -136,9 +138,8 @@
|
||||
{
|
||||
"description": "merging: dependencies accumulate",
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "base_2",
|
||||
"schemas": {
|
||||
"base_2": {
|
||||
"properties": {
|
||||
"trigger": {
|
||||
"type": "string"
|
||||
@ -153,7 +154,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"merge_2_0": {
|
||||
"type": "base_2",
|
||||
"properties": {
|
||||
"child_dep": {
|
||||
@ -164,10 +165,9 @@
|
||||
"trigger": [
|
||||
"child_dep"
|
||||
]
|
||||
},
|
||||
"$id": "merge_2_0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
@ -196,7 +196,9 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "DEPENDENCY_MISSING",
|
||||
"details": { "path": "" }
|
||||
"details": {
|
||||
"path": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -214,7 +216,9 @@
|
||||
"errors": [
|
||||
{
|
||||
"code": "DEPENDENCY_MISSING",
|
||||
"details": { "path": "" }
|
||||
"details": {
|
||||
"path": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -224,9 +228,8 @@
|
||||
{
|
||||
"description": "merging: form and display do NOT merge",
|
||||
"database": {
|
||||
"schemas": [
|
||||
{
|
||||
"$id": "base_3",
|
||||
"schemas": {
|
||||
"base_3": {
|
||||
"properties": {
|
||||
"a": {
|
||||
"type": "string"
|
||||
@ -240,7 +243,7 @@
|
||||
"b"
|
||||
]
|
||||
},
|
||||
{
|
||||
"merge_3_0": {
|
||||
"type": "base_3",
|
||||
"properties": {
|
||||
"c": {
|
||||
@ -249,10 +252,9 @@
|
||||
},
|
||||
"form": [
|
||||
"c"
|
||||
],
|
||||
"$id": "merge_3_0"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tests": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user