Skip to content

Add #withProperty: to navigation query? #1041

@jecisc

Description

@jecisc

During the past few years an option #withProperty: was added as a terminal option for scoping queries in MooseQuery DSL.

It allows to select a parent or child of the entity depending on a block returning a boolean instead of a type we provide.

This makes sense also on navigation queries. Maybe we should add it also?

If we do, we should update MooseQuery comment and the documentation (there are none currently but I'm writing an article right now so we will soon have one)

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