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

suggestion: support flat paths only #3

Open
dominictarr opened this issue Aug 13, 2017 · 0 comments
Open

suggestion: support flat paths only #3

dominictarr opened this issue Aug 13, 2017 · 0 comments

Comments

@dominictarr
Copy link

dominictarr commented Aug 13, 2017

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.

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

1 participant