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

Mirror the FindIterable and AggregateIterable APIs in the driver #3284

Open
evanchooly opened this issue Oct 23, 2024 · 0 comments
Open

Mirror the FindIterable and AggregateIterable APIs in the driver #3284

evanchooly opened this issue Oct 23, 2024 · 0 comments
Labels
aggregation Breaking enhancement query rewritable Contains a change that should be automigrated using OpenRewrite
Milestone

Comments

@evanchooly
Copy link
Member

Currently, Morphia has its own FindOptions and AggregationOptions for historical reasons. Given the recent changes to the APIs for querying and aggregation (namely, that they are themselves Iterable) 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.

@evanchooly evanchooly added enhancement Breaking aggregation rewritable Contains a change that should be automigrated using OpenRewrite query labels Oct 23, 2024
@evanchooly evanchooly added this to the 3.0.0 milestone Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aggregation Breaking enhancement query rewritable Contains a change that should be automigrated using OpenRewrite
Projects
None yet
Development

No branches or pull requests

1 participant