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

Provide a warning if a value depth was set deeper than the tree. #3

Open
justinbmeyer opened this issue Oct 8, 2017 · 0 comments
Open
Labels
easy A great first time issue.

Comments

@justinbmeyer
Copy link
Contributor

justinbmeyer commented Oct 8, 2017

Warn if the following happens

// a tree 3 levels deep
var kt = new KeyTree([Object, Object, Array]);

// trying to set something 4 levels deep
kt.add(["foo","bar","zed","ted"])

This test and warn should only happen in dev mode. (ex: //!steal-remove-start)

justinbmeyer added a commit that referenced this issue Oct 9, 2017
@justinbmeyer justinbmeyer added the easy A great first time issue. label Jun 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy A great first time issue.
Projects
None yet
Development

No branches or pull requests

1 participant