Skip to content

unflatten depends on "key" order #43

@lipp

Description

@lipp

this is a bit surprising to me, but apperently the order in which object entries are created affect the output of unflatten
see here:
https://tonicdev.com/lipp/flat-issue

a solution seems to be to itereate through the object keys sorted by length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions