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

feat(mongodb): Replace usage of deprecated method AggregationBuilder::execute() #6933

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

GromNaN
Copy link
Contributor

@GromNaN GromNaN commented Jan 29, 2025

Q A
Branch? 4.1
Tickets n/a
License MIT
Doc PR n/a

The method AggregationBuilder::execute() is deprecated.

This requires updating the minimum version of MongoDB ODM for testing, as the new result class have been added in v2.10.0 by doctrine/mongodb-odm#2702, so we can mock it.

@soyuka soyuka merged commit 2e2debb into api-platform:4.1 Jan 29, 2025
58 of 59 checks passed
@soyuka
Copy link
Member

soyuka commented Jan 29, 2025

This is awesome thanks @GromNaN !

@GromNaN GromNaN deleted the agg-builder-execute branch January 29, 2025 15:12
jonerickson pushed a commit to jonerickson/core that referenced this pull request Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants