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

Implement document validation error generation tests which use customer validators

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Query 2020-10-05, Query 2020-10-19, Query 2020-11-02

      Outside of the unit tests which verify that individual operators generate errors in the expected format, it would be useful to have coverage of generated errors using real world validators. Some example validators include the following from various JIRA tickets (one, two, and three) as well as the sample schemas presented in the MongoDB docs.

      Additionally, a number of sample schemas can be found on schemastore.org.

            Assignee:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: