Skip to content

ExpressionPropertyCondition #7612

Closed as not planned
Closed as not planned
@Absolutionism

Description

@Absolutionism

Suggestion

Add an ExpressionPropertyCondition class (or different name)
Allowing to quickly register a condition that utilizes property of a type/object/expression and the property for the condition.
register(Example.class, PropertyType.BE, "visible", "custom name[s]", "entities") or whichever order.
Resulting in patterns of

"%entities%'[s] custom name[s] (is|are) visible",
"%entities%'[s] custom name[s] (isn't|is not|are not|aren't) visible",
"custom name[s] of %entities% (is|are) visible",
"custom name[s] of %entities% (isn't|is not|are not|aren't) visible"

Why?

Useful

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature request, an issue about something that could be improved, or a PR improving something.up for debateWhen the decision is yet to be debated on the issue in question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions