Re-declared sibling of a nested field can be incorrectly attributed to the base collection

XMLWordPrintableJSON

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

      For example in

      [{$set: {a: [{b: 99}]}}, {$set: {'a.c': 1}}, {$match: {'a.b': 1}}]
      

      , the "a.b" visible to $match is really coming from the first $set, but the graph wrongly attributes it to the base collection

            Assignee:
            Henri Nikku
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: