Report specific keys for invalid update documents

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: errors
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If an update document includes non dollar sign keys, the error message is generic: "update only works with $ operators".

      It would help users understand the message if it included the name of the invalid key. E.g. "Invalid key 'foo': update only works with $ operators"

      This request is inspired by the user support question in CXX-1090. A clearer message might have allowed the user to answer their own question without a ticket.

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: