spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

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

Open christophstrobl opened this issue 2 years ago • 0 comments

This commit enables using a type parameter to define the from collection of a $lookup/$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 document field name.

Resolves: #4379

christophstrobl avatar Jun 12 '23 09:06 christophstrobl