SERVER-135978ClosedFixed
Implement expression::traversePath
The signature should be something like: traversePath should implement the traversal semantics used in the evaluation of the Expression classes and return the Type of the result. There's a few different ways in which a path can be traversed in a pipeline: * FieldPathExpression - the $a.b syntax * GetFieldExpression - the $getField expression * Document::getNestedField - method called in aggregation pipelines in places, not strictly within Expressions. * there might be more! W