search-replica icon indicating copy to clipboard operation
search-replica copied to clipboard

Useless parent_id within inline document.

Open ubombi opened this issue 2 years ago • 0 comments

Having this value (which is parent _id) make no sense. It should be possible to skip/remove this field from inlined json.

simplified E.G:

{
    "id": 100,
    "inlined": [
        {"id": 1, "parent_id": 100, "value": "foo"},
        {"id": 2, "parent_id": 100, "value": "bar"},
        {"id": 3, "parent_id": 100, "value": "baz"}
    ],
    "field": "value"
}

Technically there is no need for this.

ubombi avatar Mar 30 '22 01:03 ubombi