DATAMONGO-2200 - Use mapping context where available.
Use the mapping context to get the required fields or fall back to property descriptors if no mapping context is available.
Original pull request: #748.
pull/772/head
Christoph Strobl7 years agocommitted byMark Paluch
@ -91,6 +91,15 @@ public class PrefixingDelegatingAggregationOperationContext implements Aggregati
@@ -91,6 +91,15 @@ public class PrefixingDelegatingAggregationOperationContext implements Aggregati
@ -1737,8 +1737,9 @@ public class ProjectionOperation implements FieldsExposingAggregationOperation {
@@ -1737,8 +1737,9 @@ public class ProjectionOperation implements FieldsExposingAggregationOperation {
@ -101,6 +104,23 @@ public class TypeBasedAggregationOperationContext implements AggregationOperatio
@@ -101,6 +104,23 @@ public class TypeBasedAggregationOperationContext implements AggregationOperatio