-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - Allow iter combinations on queries with filters #3656
[Merged by Bors] - Allow iter combinations on queries with filters #3656
Conversation
f832dee
to
3f26e35
Compare
Okay, I honestly do not know how to remove commit 3f26e35 from there, since I am very much inexperienced with git and I don't know how it got there in the first place. Should I just make a new pull request instead, with the appropriate commits? Update: Just found out how to remove the commit using |
93bd4d7
to
d6052f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Thanks for contributing; the fix looks good now and the test is very comprehensive.
BTW @harudagondi, you can press "Resolve conversation" on the comments that have been addressed. It helps keep the thread clean for reviewers :) |
bors r+ |
# Objective - Previously, `iter_combinations()` does not work on queries that have filters. - Fixes #3651 ## Solution - Derived Copy on all `*Fetch<T>` structs, and manually implemented `Clone` to allow the test to pass (`.count()` does not work on `QueryCombinationIter` when `Clone` is derived) Co-authored-by: Carter Anderson <[email protected]>
# Objective - Previously, `iter_combinations()` does not work on queries that have filters. - Fixes bevyengine#3651 ## Solution - Derived Copy on all `*Fetch<T>` structs, and manually implemented `Clone` to allow the test to pass (`.count()` does not work on `QueryCombinationIter` when `Clone` is derived) Co-authored-by: Carter Anderson <[email protected]>
# Objective - Previously, `iter_combinations()` does not work on queries that have filters. - Fixes bevyengine#3651 ## Solution - Derived Copy on all `*Fetch<T>` structs, and manually implemented `Clone` to allow the test to pass (`.count()` does not work on `QueryCombinationIter` when `Clone` is derived) Co-authored-by: Carter Anderson <[email protected]>
Objective
iter_combinations()
does not work on queries that have filters.Solution
*Fetch<T>
structs, and manually implementedClone
to allow the test to pass (.count()
does not work onQueryCombinationIter
whenClone
is derived)