Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49208

Implement validation error generation for miscellaneous query operators

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Query 2020-08-24

      Implement validation error generation for $exists, $type, $expr, $regex, and $mod along with unit tests verifying that generated errors conform to the expected format.

      The error formats should conform to the formats outlined in the design document. In particular:

      Note that similarly, to the comparison operators, for any of these operators to be capable of generating errors, they need to be annotated at parse time with the information necessary to generate a sensible error (namely, the name of the operator and how the operator was specified by the user).

            Assignee:
            jenny.peshansky@mongodb.com Jenny Peshansky (Inactive)
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: