Problem Statement/Rationale
When trying to create a view from an aggregation pipeline with some stages disabled, the view is not created and "A pipeline stage specification object must contain exactly one field." error is shown
Steps to Reproduce
- Create any pipeline in Compass with a few stages and disable one of them
- Try to create a view from the pipeline
Expected Results
View is created, disabled step is not affecting the pipeline
Actual Results
Said error is shown
Additional Notes
Any additional information that may be useful to include.