Skip to content

Proposal: ConditionalPaths #1328

@bvandercar-vt

Description

@bvandercar-vt

Type description + examples

Get paths recursively, but only when an item extends a passed matcher item. Basically, the result would be like doing Paths<ConditionalPickDeep<T, Matcher>>, but the problem with this is that it does double the recursion to dive into the object. By using a ConditionalPaths, the recursion would only have to be performed once.

Type source

No response

Search existing types and issues first

  • I tried my best to look for it

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions