JSON Schema incorrectly treats dotted field names as paths

XMLWordPrintableJSON

    • Query Optimization
    • ALL
    • Query 2017-11-13, Query 2020-07-13, Query 2020-07-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      > db.test.find()
      { "_id" : ObjectId("59dcfc510d45ac010df64f5f"), "a.b" : 1 }
      > db.test.find({$jsonSchema: {properties: {'a.b': {type: 'number'}}, required: ['a.b']}})
      > 
      

      There are several similar tickets, but this is meant to track the behavior specifically within a $jsonSchema validator.

              Assignee:
              [DO NOT USE] Backlog - Query Optimization
              Reporter:
              Nicholas Zolnierz
              Votes:
              1 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: