fixed nested filters

This commit is contained in:
2026-04-24 10:48:38 -04:00
parent 45ebc57e0c
commit 0093aea790
2 changed files with 121 additions and 57 deletions

View File

@ -172,53 +172,69 @@
"schemas": {
"person": {},
"person.filter": {
"type": "object",
"compiledPropertyNames": [
"$and",
"$or",
"ad_hoc",
"age",
"billing_address",
"birth_date",
"first_name"
"first_name",
"tags"
],
"properties": {
"$and": {
"type": [
"array",
"null"
],
"items": {
"compiledPropertyNames": [
"$and",
"$or",
"ad_hoc",
"age",
"billing_address",
"birth_date",
"first_name"
"first_name",
"tags"
],
"type": "person.filter"
}
},
"type": [
"array",
"null"
]
},
"$or": {
"type": [
"array",
"null"
],
"items": {
"compiledPropertyNames": [
"$and",
"$or",
"ad_hoc",
"age",
"billing_address",
"birth_date",
"first_name"
"first_name",
"tags"
],
"type": "person.filter"
}
},
"first_name": {
},
"type": [
"string.condition",
"array",
"null"
]
},
"ad_hoc": {
"compiledPropertyNames": [
"foo"
],
"properties": {
"foo": {
"type": [
"string.condition",
"null"
]
}
},
"type": [
"object",
"null"
]
},
@ -239,8 +255,21 @@
"date.condition",
"null"
]
},
"first_name": {
"type": [
"string.condition",
"null"
]
},
"tags": {
"type": [
"string.condition",
"null"
]
}
}
},
"type": "object"
},
"address": {},
"address.filter": {