Skip to content

Allow Property to be passed into Filter #1327

@Shinigami92

Description

@Shinigami92

We currently have a Filter like new Filter(Company_.COMPANY.NAME.getName(), ComparisonOperator.CONTAINING, lowerSearch).ignoreCase().

Sadly we need to pass .getName() and cannot just call it with the Property.

It would be a nice developer experience if we could leave this away.

One thing that came into my mind, but I didn't checked if even needed, would be that we could even pass a c.property(Company_.COMPANY.NAME), so it is tightly coupled to a named node "c" 🤔
But it is not a use case for us right now...

slightly related to #1326

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