Skip to content

Wildcards for intermmediate paths #9

@hbarcelos

Description

@hbarcelos

I was making some tests here and figured out that wildcards * only work in tail position.

Currently we have to do something like this:

[
    'err.options.auth.password',
    'options.auth.password',
    'auth.password'
]

It would be very nice if we could do something as:

*.password: objects containing password key in the first level.
err.*.password: objects containing err key in the first level and password key on the third.
**.password: objects containing password key in any level (possible performance hit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions