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

Array of Hashes with Nested Hash Fails #11

Closed
alyssa-nodeprime-com opened this issue Mar 7, 2014 · 1 comment
Closed

Array of Hashes with Nested Hash Fails #11

alyssa-nodeprime-com opened this issue Mar 7, 2014 · 1 comment

Comments

@alyssa-nodeprime-com
Copy link

This doesn't work:

[[first]]
[first.second]
foo = bar

[[first]]
[first.second]
foo = baz

The hard test doesn't test for this. I've forked and added the failing test case. I can push that.

The easiest fix seems to be to add the array element index to assignedPaths. Thoughts?

@BinaryMuse
Copy link
Owner

Good catch, @alyssa-nodeprime-com, thanks so much. I've added a test case and a fix in v2.0.4. Please feel free to try it out and make sure it works for your case!

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