Skip to content

* returns extra falsey values at the level of the wildcard #11

@ALawliet

Description

@ALawliet
> obj
{ 
    foo: { 
        bar: { 
            qux: 'asdf' 
        },
        baz: null,
        ping: 'pong' 
    } 
}

> mask(obj,'foo/*/qux')
{ 
    foo: { 
        bar: { 
            qux: 'asdf' 
        },
        baz: null
    } 
}

Is this intended? I was expecting:

{ 
    foo: { 
        bar: { 
            qux: 'asdf' 
        }
    } 
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions