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

Nested nested objects are being pushed up a level #211

Closed
Nikola-Milovic opened this issue Feb 12, 2022 · 1 comment
Closed

Nested nested objects are being pushed up a level #211

Nikola-Milovic opened this issue Feb 12, 2022 · 1 comment

Comments

@Nikola-Milovic
Copy link

Maybe I am doing something incorrectly but having an object like

obj = {
  prop1 : {
     prop2 : {
        prop3: value,
        prop4: value,
     }
  }
}

Will push the props2 up a level, it doesn't nest deeper than 1 level. It will become

obj = {
  prop1 : {
  },
  prop2 : {
     prop3: value,
     prop4: value,
  }
}

Any way around this behavior?

@therealparmesh
Copy link
Owner

therealparmesh commented Feb 12, 2022

I'm not able to reproduce this behavior using the latest version.

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