Modify the 3rd party JSON Schema test suite to only test keywords supported by MongoDB

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-10-02
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There are several tasks as part of this ticket:

      1. Rename instances of the keyword "integer" to "number" in the JSON Schema test suite, as MongoDB does not support "integer". Remove or modify individual test cases if they expect integer functionality.
      2. Update the json_schema_test_runner to validate test cases against a top-level schema when appropriate (data must be a document).
      3. As a consequence of #2, certain test cases that don't expect an _id field will need to be modified.

            Assignee:
            Nicholas Zolnierz
            Reporter:
            Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: