Skip to content

Combine Query and QueryLens using a type parameter for state #18162

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
e943852
Make Query generic over the State type so it can use either owned or …
chescock Feb 18, 2025
f7ff2b3
Make QueryLens a type alias.
chescock Feb 19, 2025
0a68186
Update doc link now that `StorageId` is `pub`.
chescock Mar 5, 2025
49ae0f3
Box QueryState.
chescock Mar 5, 2025
2d2d78d
Rename QueryStateBorrow to QueryStateDeref.
chescock Mar 5, 2025
4c367db
Make QueryStateDeref an unsafe trait.
chescock Mar 5, 2025
556eced
Introduce a TrustedEntityQueryData trait so we can make a blanket `im…
chescock Mar 5, 2025
c81671d
Doc fixes.
chescock Mar 5, 2025
e94970c
Better docs for `TrustedEntityQueryData` from @Victoronz
chescock Mar 6, 2025
39c8c16
Use pointer casts for `Box<QueryState>::into_readonly()` to avoid nee…
chescock Mar 11, 2025
3d2bba9
Merge remote-tracking branch 'remotes/origin/main' into query-owned-s…
chescock Apr 4, 2025
ddd30a5
Fix other references to `TrustedEntityBorrow`.
chescock Apr 4, 2025
0e61022
Rename `TrustedEntityQueryData` to `EntityEquivalentQueryData`.
chescock Apr 4, 2025
3e83269
Merge remote-tracking branch 'remotes/origin/main' into query-owned-s…
chescock Apr 4, 2025
de74769
Add migration guide.
chescock May 7, 2025
1751fa0
Merge branch 'main' into query-owned-state
chescock May 7, 2025
fccca4d
bevy_platform_support was renamed bevy_platform.
chescock May 7, 2025
1bc9f75
Remove `'s` lifetime from `WorldQuery::Fetch`.
chescock Jun 17, 2025
66751f0
Pass `&'s QueryState` to `fetch` and `filter_fetch`.
chescock Jun 17, 2025
391665f
Merge branch 'no-state-lifetime-in-fetch' into query-owned-state-merged
chescock Jun 18, 2025
b9fc1ff
Rework to support query data that borrows from state.
chescock Jun 18, 2025
ebf1b12
Fix clippy lints.
chescock Jun 18, 2025
bde90e1
Merge remote-tracking branch 'remotes/origin/main' into query-owned-s…
chescock Jun 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading