Closed jackdclark closed 3 years ago
This is not a bug, it is bad data. You are telling it to overwrite the previous value of a
with 'b'
Closing.
Hmm, guess I am only an npm contributor now.
You're completely right. This was a long time ago so I may have oversimplified my example for the issue that I was running into, but I can't remember exactly. Until then, let's close this @miketheprogrammer. Thank you.
Hello! I just ran into a bug with
unflatten
. If a key is passed in at the same time as a nested path that has the same top-level key, the nested path gets lost in the result, e.g: