-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
PHPLIB-869 introduces pipeline validation to the CreateCollection helper, which is based on existing code in Aggregate.
In 2628c09 for PHPLIB-418, an is_pipeline function was added to validate pipelines for update commands; however, it has additional logic to reject empty pipeline arrays.
These three use cases should be consolidated to use a common helper function.
- depends on
-
PHPLIB-1129 Replace operations may inadvertently execute pipeline updates
- Closed
-
PHPLIB-1122 Support Document and PackedArray objects in public APIs
- Closed
- is depended on by
-
PHPLIB-1123 Utilize array_is_list() where we currently detect packed arrays
- Closed
- is related to
-
PHPLIB-418 Add the ability to specify a pipeline to an update command
- Closed
-
PHPLIB-869 Support viewOn and pipeline options in createCollection helper
- Closed