Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Open up aggregation builder API for use in ODM #246

Merged
merged 4 commits into from
Nov 3, 2016

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Jan 13, 2016

This PR collects all changes necessary to support hydrated aggregation results in doctrine/mongodb-odm#1263.

@alcaeus alcaeus added the task label Jan 13, 2016
@alcaeus alcaeus added this to the 1.3.0 milestone Jan 13, 2016
@alcaeus alcaeus self-assigned this Jan 13, 2016
@alcaeus alcaeus force-pushed the aggregation-builder-interfaces branch from 48134d7 to eb79c83 Compare February 2, 2016 20:32
@alcaeus alcaeus removed this from the 1.3.0 milestone Feb 10, 2016
@@ -42,7 +42,7 @@ class Builder
/**
* @var Stage[]
*/
private $stages;
private $stages = [];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depending on how long this PR will stay open, could we add this change separately in the next release? Calling getPipeline on a new Aggregation Builder will break because of the non-array $stages in the array_map call.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-referencing with #257.

@alcaeus alcaeus added this to the 1.4.x milestone Mar 24, 2016
@alcaeus alcaeus force-pushed the aggregation-builder-interfaces branch 2 times, most recently from 85cffe4 to c3a27c4 Compare April 28, 2016 13:15
@alcaeus alcaeus force-pushed the aggregation-builder-interfaces branch from c3a27c4 to 03ceeb1 Compare May 23, 2016 05:15
@alcaeus alcaeus changed the title [WIP] Open up query builder API for use in ODM [WIP] Open up aggregation builder API for use in ODM Jun 20, 2016
@alcaeus alcaeus force-pushed the aggregation-builder-interfaces branch from 72692f5 to 9a064c3 Compare October 17, 2016 17:32
@alcaeus alcaeus changed the title [WIP] Open up aggregation builder API for use in ODM Open up aggregation builder API for use in ODM Nov 3, 2016
@alcaeus alcaeus merged commit f1f1eb8 into doctrine:master Nov 3, 2016
@alcaeus alcaeus deleted the aggregation-builder-interfaces branch November 3, 2016 14:15
@alcaeus alcaeus modified the milestones: 1.4.0, 1.4.x Nov 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants