Oh yes, for sure this is a good workaround for the given scenario. I was merely reflecting upon my own challenges working on aggregation pipelines and the differing behaviour of some operators. Which also resulted in pipelines with large, deeply nested, complicated, hard to maintain stages for those operations.

I had intended to raise a bunch of Feature Requests; but it eventually fell off my radar.

1 Like