flat-to-nested-js
flat-to-nested-js copied to clipboard
Support for if parent definition is within nested object.
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' } );
Hi,
Currently that's not supported, it is related to what was discussed in issue #5 but I never got to implement it.