Skip to content

Conversation

@andriyDev
Copy link
Contributor

Objective

  • A FilteredAccessSet doesn't give access to the individual filters. This is sad for introspecting the access of systems (e.g., for visualizing systems in a schedule).

Solution

  • Add a getter for filtered_accesses.

@andriyDev andriyDev added C-Feature A new feature, making something new possible D-Trivial Nice and easy! A great choice to get started with Bevy A-ECS Entities, components, systems, and events S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jan 8, 2026
Copy link
Contributor

@CorvusPrudens CorvusPrudens left a comment

Choose a reason for hiding this comment

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

I don't have too much context on whether exposing this is problematic, but it really doesn't seem like it is. Also, this sort of thing is very helpful even in functional contexts. I found Bevy's access types to be rather cumbersome when working on bevy_query_observer, so I'm very much in favor!

@andriyDev andriyDev 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 Jan 8, 2026
@alice-i-cecile alice-i-cecile added this to the 0.18 milestone Jan 8, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 8, 2026
Merged via the queue into bevyengine:main with commit 6747cc1 Jan 8, 2026
49 checks passed
cart pushed a commit that referenced this pull request Jan 9, 2026
# Objective

- A `FilteredAccessSet` doesn't give access to the individual filters.
This is sad for introspecting the access of systems (e.g., for
visualizing systems in a schedule).

## Solution

- Add a getter for `filtered_accesses`.
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 C-Feature A new feature, making something new possible 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants