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

Add support for arrays #26

Merged
merged 2 commits into from Apr 28, 2021

Conversation

petermorlion
Copy link
Contributor

This should add support for populating arrays, i.e.

a.0.a
a.1.b
a.1.c

Will populate an array like this (structure, no values):

{
    a: [{
        a
    }, {
        b
    }, {
        c
    }
}

I believe this will fix this issue: jonschlinkert/filter-object#9

@jonschlinkert
Copy link
Owner

@petermorlion thanks for the PR and sorry for the late response. I refactored this library and will be doing a major release shortly, but I'm going to merge this anyway to acknowledge the time and effort you took to contribute. the new release also adds support for arrays.

@jonschlinkert jonschlinkert merged commit a68f550 into jonschlinkert:master Apr 28, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants