Skip to content

suggestion: support flat paths only #3

@dominictarr

Description

@dominictarr

The best argument with depject is that the paths are easily greppable.

if you have this

{foo: {bar: true, baz: true}}

it's not easy to grep this file to see it contains foo.baz = true
but if it's this format:

nest({
  'foo.bar': true,
  'foo.baz': true
})

then it's easy. The other things you can do with this module is just confusing, but with this example, it's pretty clear what the syntax does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions