Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for if parent definition is within nested object. #12

Open
jungalwala opened this issue Feb 19, 2018 · 1 comment
Open

Support for if parent definition is within nested object. #12

jungalwala opened this issue Feb 19, 2018 · 1 comment

Comments

@jungalwala
Copy link

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' } );

@joaonuno
Copy link
Owner

Hi,

Currently that's not supported, it is related to what was discussed in issue #5 but I never got to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants