Skip to content

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

Closed
Monnoroch wants to merge 1 commit intobevyengine:mainfrom
Monnoroch:main
Closed

[WIP] World query filter proposal prototype implementation.#4997
Monnoroch wants to merge 1 commit intobevyengine:mainfrom
Monnoroch:main

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