Open jungalwala opened 6 years ago
I have an objects with a layout like:
{ theId: foobar data: { parent_id: bob moredata: baz } }
Will this support the idea that the parent_id is within the structure? I tried: flatToNested = new FlatToNested( { id: 'theid', parent: 'data.parent_id' } );
flatToNested = new FlatToNested( { id: 'theid', parent: 'data.parent_id' } );
Hi,
Currently that's not supported, it is related to what was discussed in issue #5 but I never got to implement it.
I have an objects with a layout like:
Will this support the idea that the parent_id is within the structure? I tried:
flatToNested = new FlatToNested( { id: 'theid', parent: 'data.parent_id' } );