Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5025

Document caveats of embedded documents without _id field

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.2.1
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None
    • Fully Compatible

      https://jira.mongodb.org/browse/MONGOID-5019 introduced documentation on how users can alter/remove the `_id` field from Documents.

      This is generally ill-advised and the documentation should explain what the risks/side-effects/broken functionality happens as a result.

      For example, if you embed many docs without _id, you might not be able to atomically update/delete those docs.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: