Skip to content

Rename the Allows query filter to Allow#20541

Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom
JaySpruce:rename_allows
Aug 12, 2025
Merged

Rename the Allows query filter to Allow#20541
alice-i-cecile merged 1 commit intobevyengine:mainfrom
JaySpruce:rename_allows

Conversation

@JaySpruce
Copy link
Member

This is the bikeshed of all time, but I needed to bring this up before it became a breaking change.

In my opinion, Allow<Disabled> sounds better than Allows<Disabled>.

I don't think there's a 1-to-1 comparison in other query keywords yet, but there's the hypothetical Expect in the discussion on #19489, as opposed to Expects.

Allows hasn't been in a release yet, so it's free to change until 0.17 comes out.

@JaySpruce JaySpruce added A-ECS Entities, components, systems, and events S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Aug 12, 2025
@alice-i-cecile alice-i-cecile added this to the 0.17 milestone Aug 12, 2025
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mild preference for this.

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy X-Contentious There are nontrivial implications that should be thought through labels Aug 12, 2025
@NthTensor
Copy link
Contributor

Allows is still unreleased, yes? I agree, this is much better, and if it's no churn then we should change it.

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Aug 12, 2025
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Aug 12, 2025
Merged via the queue into bevyengine:main with commit 8f93d3e Aug 12, 2025
43 checks passed
@JaySpruce JaySpruce deleted the rename_allows branch August 12, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it X-Contentious There are nontrivial implications that should be thought through

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants