Query Settings commands & aggregation stage are currently using empty expression contexts as the starting point for building the query shape.
This work is currently duplicated (and improved) by the makeDummyExpCtx() private method of CmdWithLetShape.
- related to
-
SERVER-77790 Add support for showDebugQueryShape parameter in $querySettings
- Closed
-
SERVER-77463 Implement setQuerySettings command
- Closed