Collection update methods should throw if update document is empty

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.0.1, 3.1.0
    • Affects Version/s: 3.0.0
    • Component/s: Write Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Collection update methods correctly validate that all keys in the update document start with the '$' character. However, they don't validate that the update document is not empty. This is incorrect because an empty update document is considered by the server to be a full document replacement.

              Assignee:
              Ross Lawley
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: