Skip to content
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

Map collection and fields for $lookup/$graphLookup aggregation stage against domain type #4406

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jul 10, 2023

  1. Prepare issue branch.

    christophstrobl authored and mp911de committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    a93c870 View commit details
    Browse the repository at this point in the history
  2. Map collection and fields for $lookup aggregation against type.

    This commit enables using a type parameter to define the from collection of a lookup aggregation stage. In doing so we can derive the target collection name from the type and use the given information to also map the from field against the domain object to so that the user is able to operate on property names instead of the target db field name.
    christophstrobl authored and mp911de committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    ff137ec View commit details
    Browse the repository at this point in the history
  3. Map collection and fields for $graphLookup aggregation against type.

    This commit enables using a type parameter to define the from collection of a graphLookup aggregation stage. In doing so we can derive the target collection name from the type and use the given information to also map the from field against the domain object to so that the user is able to operate on property names instead of the target db field name.
    christophstrobl authored and mp911de committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    b46aab2 View commit details
    Browse the repository at this point in the history
  4. Polishing.

    Reformatting, trailing whitespaces.
    mp911de committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7103ca2 View commit details
    Browse the repository at this point in the history