Check strings start with $$ or $ when a fieldPath or a variable are expected

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • builder-0.1
    • Affects Version/s: None
    • Component/s: Aggregation
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: