Skip to content

PHPLIB-869: Support viewOn and pipeline options in createCollection helper #935

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

Merged
merged 11 commits into from
Jun 6, 2022

Conversation

aleksandr-rudo
Copy link
Contributor

@aleksandr-rudo aleksandr-rudo requested a review from jmikola May 23, 2022 23:07

$expectedIndex += 1;
}
}
Copy link
Member

Choose a reason for hiding this comment

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

This was copied from Aggregate.php, but the exception messages were not updated to reflect that pipeline is an option and not a constructor parameter. Please apply the suggestions above.

I also created PHPLIB-881 to refactor this to share common code with other instances of pipeline validation.

Copy link
Member

Choose a reason for hiding this comment

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

Code updated in #1078

aleksandr-rudo and others added 6 commits May 25, 2022 01:13
…option.yaml

Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
…option.yaml

Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
@aleksandr-rudo aleksandr-rudo requested a review from jmikola May 24, 2022 22:17
Copy link
Member

@jmikola jmikola left a comment

Choose a reason for hiding this comment

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

Two more things (some suggestions for docs and new tests). Sorry for forgetting to bring these up in a previous review.

@aleksandr-rudo aleksandr-rudo requested a review from jmikola May 25, 2022 22:58
@jmikola jmikola merged commit 370b5a2 into mongodb:master Jun 6, 2022
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.

3 participants