Mirror the FindIterable and AggregateIterable APIs in the driver #3284
Labels
aggregation
Breaking
enhancement
query
rewritable
Contains a change that should be automigrated using OpenRewrite
Milestone
Currently, Morphia has its own
FindOptions
andAggregationOptions
for historical reasons. Given the recent changes to the APIs for querying and aggregation (namely, that they are themselvesIterable
) it makes more sense to mirror how the driver sets those options via these two interfaces versus having overloads to take them. Transitioning to this style of API would simplify the API and reduce the surface area involved.The text was updated successfully, but these errors were encountered: