Skip to content

Rename Condition into SystemCondition #19120

Open
@Shatur

Description

@Shatur

What problem does this solve or what need does it fill?

The current Condition trait name is overly generic and appears in the prelude.

What solution would you like?

Since users rarely type this trait directly, I suggest renaming it to something more specific like SystemCondition or SystemOperator.

Use case

In bevy_replicon, I wanted to provide a concise Condition enum for replication rules. The current naming collision forces me to choose a less ergonomic name, despite this being a type users will reference frequently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-FeatureA new feature, making something new possibleC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyM-Needs-Migration-GuideA breaking change to Bevy's public API that needs to be noted in a migration guideS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions