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

adding option to create nested lists on the fly #93

Closed

Conversation

martinResearch
Copy link

adding option integer_as_list_index to dpath.util.new to tell it to interpret integers as list indices so that new lists are automatically created if needed when encounting integers. This is very convenient to create nested lists (feature request #91). This also fix the bug #92

Martin de La Gorce and others added 7 commits August 14, 2019 14:33
adding possibility to use integer as list indices in newly created lists (dpath-maintainers#91) and fixing issue dpath-maintainers#92
adding new integeres-as-indices feature in doc and bug fix
adding test for new integer_as_list_index option
replace tabs by spaces
adding empty line
fix mistakes in readme
@akesterson
Copy link
Collaborator

Thanks for the suggestion. Ultimately we found that we wanted to avoid adding complexity to dpath core to handle what essentially boiled down to a given user's specific use case governed by their app logic. Instead we went with the approach in #101. .Please review this and let us know f that will be unable to handle your use case.

@akesterson akesterson closed this Dec 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants