Skip to content

Why can't I use two mutually exclusive Query at the same time. #4805

Answered by alice-i-cecile
droog126 asked this question in Q&A
Discussion options

You must be logged in to vote

Can you show the type signature of your system? Parents are commonly children themselves, in a nested hierarchy, so there's no guarantee that we're accessing distinct entities here.

A more general solution likely involves #3742, but for now, I would probably recommend using Query::get_many_mut.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@droog126
Comment options

@droog126
Comment options

@droog126
Comment options

@easynam
Comment options

Answer selected by droog126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4804 on May 19, 2022 15:20.