Refactor FieldPath constructor to use factory function

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-113389 introduced a new factory function to FieldPath to enable validation error catching when converting paths of type FieldRef (which have more relaxed validation requirements) to type FieldPath. To avoid having so much copied code, we should call this factory function from within the constructor and use the result.

            Assignee:
            Natalie Hill
            Reporter:
            Natalie Hill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: