We currently manually document the options and manually parse them in mongoc_collection_aggregate and as of CDRIVER-2899, in mongoc_database_aggregate. We should instead generate the supported options for the aggregate command using the IDL (generate-opts.py.
- related to
-
CDRIVER-3032 Audit how options are applied in cursor returning functions
- Backlog