Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lutter
Copy link
Collaborator

@lutter lutter commented Sep 6, 2023

This is a follow-on to #4827 to cover the important case where no ordering is specified (for example, for single-value child fields)

This reverts commit 906f5e6. That commit
caused a bug because of a confusion about which list of parent ids to
use. If we had entities without children followed by ones with children, we
would join the wrong children to parents.

We now use the correct list of parent ids, the one that already has entries
with no children filtered out.
We add a new band member to The Amateurs for our query test. We need a
situation where an entity that has empty relations to other entities is
followed by one that does have them to ensure that we link up the children
correctly in that situation.
This is a follow-on to
#4827 to cover the
important case where no ordering is specified (for example, for
single-value child fields)
When we resolve a child query from memory, the `first` applies to the list
of children for each parent, not the number of total parents.
@lutter
Copy link
Collaborator Author

lutter commented Sep 11, 2023

Closing this for the reasons explained in #4261

@lutter lutter closed this Sep 11, 2023
@lutter lutter deleted the lutter/children branch April 17, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants