Skip to content

Conversation

thomasdarimont
Copy link

No description provided.

Thomas Darimont added 2 commits September 19, 2013 16:58
…ations.

Introduced FieldsExposingAggregationOperation to mark AggregationOperations that 
change the set of exposed fields available for processing by later AggregationOperations.
Extracted context state out of AggregationOperation to ExposedFieldsAggregationContext for better separation of concerns.
Modified toDbObject in Aggregation to only replace the aggregation context  when the "current" AggregationOperation was a FieldExposingAggregationOperation.
Removed the getFields() method of UnwindOperation and changed it's type to just AggregationOperation since the UnwindOperation doesn't expose new fields to the context 
and retains all fields that are currently available.
Resolution of nested field references are working now.
thomasdarimont pushed a commit that referenced this pull request Sep 26, 2013
…n operations.

Aggregation pipelines now correctly handle nested field references in aggregation operations. We introduced FieldsExposingAggregationOperation to mark AggregationOperations that change the set of exposed fields available for processing by later AggregationOperations. Extracted context state out of AggregationOperation to ExposedFieldsAggregationContext for better separation of concerns. Modified toDbObject(…) in Aggregation to only replace the aggregation context when the current AggregationOperation is a FieldExposingAggregationOperation.

Original pull request: #74.
thomasdarimont pushed a commit that referenced this pull request Sep 26, 2013
…n operations.

Aggregation pipelines now correctly handle nested field references in aggregation operations. We introduced FieldsExposingAggregationOperation to mark AggregationOperations that change the set of exposed fields available for processing by later AggregationOperations. Extracted context state out of AggregationOperation to ExposedFieldsAggregationContext for better separation of concerns. Modified toDbObject(…) in Aggregation to only replace the aggregation context when the current AggregationOperation is a FieldExposingAggregationOperation.

Original pull request: #74.
@odrotbohm odrotbohm closed this Sep 26, 2013
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