using only() and identity map

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I keep getting surprised by errors in my application because I have used the only() method to limit the fields returned, while later trying to query the same document.

      I think it is getting placed in the identity map, on the first query, and later retrieved out of the identity map. The issue is that when it is retrieved out of the identity map, it doesn't contain the fields I am needing.

      So my question is this: Would it be possible to, by default, skip the identity map for queries using only()?

            Assignee:
            Unassigned
            Reporter:
            demersus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: