Add trait queries (by upstreaming bevy-trait-query)
Open
A-ECS
C-Feature
M-Release-Note
S-Waiting-on-SME
X-Needs-SME
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
Trait queries are missing in bevy and only covered by https://github.com/JoJoJet/bevy-trait-query/
Upstreaming it would be nicer for bevy users as it is a really common need and 3rd party lib can easily become outdated🥺
(Got told by @alice-i-cecile to open this :p)
Contributor guide
Research direction
Start by reviewing the upstream implementation at https://github.com/JoJoJet/bevy-trait-query/ and comparing its trait-query behavior with Bevy's existing ECS query APIs. The issue does not name Bevy files, tests, or a narrower integration boundary; done would mean trait queries are supported upstream in Bevy rather than requiring the third-party library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100