GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix $graphLookup traversal through nested array fields by bwaldvogel · Pull Request #271 · bwaldvogel/mongo-java-server

Conversation

@bwaldvogel

@bwaldvogel bwaldvogel commented Nov 16, 2026

Copy link
Copy Markdown
Owner

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bwaldvogel added 3 commits November 16, 2026 08:47
@bwaldvogel
Test projection of user IDs from an embedded array
bad3b60
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.
@bwaldvogel
Fix graph lookup traversal through nested array fields
92d51d6
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.
@bwaldvogel
Align graph lookup validation errors with MongoDB
ac70229
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
bwaldvogel force-pushed the fix/graph-lookup-nested-fields branch from 776ff0b to ac70229 Compare November 16, 2026 07:56
@bwaldvogel
bwaldvogel merged commit 96df844 into main Nov 16, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bwaldvogel
bwaldvogel deleted the fix/graph-lookup-nested-fields branch November 16, 2026 08:29
@bwaldvogel bwaldvogel mentioned this pull request Nov 16, 2026
Support for table field call by "." symbol during $project execution #218
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@bwaldvogel
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.