Skip to content

[WIP] World query filter proposal prototype implementation. #4997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Monnoroch
Copy link

@Monnoroch Monnoroch commented Jun 12, 2022

This PR is a prototype implementaton of bevyengine/rfcs#58 RFC that proposes disallowing using component types as query filters. This PR also introduces derive(WorldQueryFilter) proc macro to make custom query filters, analogous to custom queries.

This PR is a prototype implementaton of bevyengine/rfcs#58 RFC that proposes disallowing using component types as query filters. This PR also introduces `derive(WorldQueryFilter)` proc macro to make custom query filters, analogous to custom queries.
@alice-i-cecile alice-i-cecile added A-ECS Entities, components, systems, and events C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Jun 12, 2022
@alice-i-cecile
Copy link
Member

@Monnoroch can you convert this to a "draft" for now? That will make it clear to reviewers that this is WIP :) It also plays better with search filters.

@Monnoroch Monnoroch marked this pull request as draft June 12, 2022 19:19
@alice-i-cecile
Copy link
Member

This is now addressed! We use two different traits now :)

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-Usability A targeted quality-of-life change that makes Bevy easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants