Caveats and Possible Problems
* Not all types of {@link AggregationOperation} will actually work here, which is why it is marked as beta. * For example, using an {@link Aggregation#project(String...)} will fail because the internal implementation is * assuming the "shape" of the result is an {@link AggregateResult} with the given type {@code T} and it performs @@ -104,7 +104,7 @@ publicRecommendations for New Code
* Based on the above restrictions and potential usage problems, we strongly recommend avoiding this * method for new code, as its original purpose was very limited in scope, mainly to perform lookup (join) * operations in order to return an "aggregate" page that contained model objects as well as their associated