Fanis Tharropoulos
08/01/2024, 3:18 PM{
"name": "parent",
"fields": [
{
"name": "num",
"type": "int32"
}
],
"default_sorting_field": "num",
"enable_nested_fields": true
}
and then the PATCH payload
{
"fields": [
{
"name": "num",
"drop": true
},
{
"name": "num",
"type": "object"
},
{
"name": "num.name",
"type": "string"
}
]
}
When you then try to create a document like:
{
"num": {
"name": "name"
}
}
Keep in mind, this schema update will be a breaking change, and you'd have to manage the porting of documents