-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Aggregation
-
None
MongoDB\Builder\Expression\FieldPath is encoded as to $<name>
MongoDB\Builder\Expression\Variable is encoded as to $$<name>
When an FieldPath or a Variable is accepted as an argument and a string is provided, check that the string starts with $ or $$
This check can't be done if a string or mixed is accepted.