Repository navigation
Fix $graphLookup traversal through nested array fields - #271
Merged
Merged
Conversation
Cover the original projection example from issue #218 using user: "$user._id". Verify that user documents are replaced by their IDs and unrelated fields are excluded.
Evaluate startWith expressions and resolve connectFromField through embedded documents and arrays. Traverse breadth first, track visited document IDs and preserve source documents. Cover issue #218, cycles, shortest depths, maxDepth, sparse arrays, literal and duplicate start values, null links and independent inputs. Null links must not match missing target fields.
Compare missing startWith and invalid maxDepth/depthField options through AbstractAggregationTest against MongoDB 7.0.48. Match upstream error codes and messages, including the BSON bool type alias.
bwaldvogel
force-pushed
the
fix/graph-lookup-nested-fields
branch
from
November 16, 2026 07:56
776ff0b to
ac70229
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Evaluate startWith expressions and follow nested array fields correctly. Handle cycles, traversal depth and missing values, and align validation errors with MongoDB.
Add regression tests for #218.