SERVER-114234Backlog

Support collectionless aggregates in the extensions API

We should support collectionless aggregate stages in the extensions API. This will require propagating {{isIndependentOfAnyCollection}} and possibly also {{generatesOwnDataOnce}} in the stage's static properties. There are no known external use cases for this currently, but it would be helpful for internal testing so that we can create stages similar to $documents. It would also future-proof in case an external need for this type of stage arises.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-extensions-apidino-tech-debt