Should deleting an embedded document cause changed? and children_changed? to evaluate to true on the parent?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 9.0.4
    • Component/s: Associations
    • None
    • Ruby Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      As called out in https://www.mongodb.com/community/forums/t/mongoid-changed-children-changed-false-when-deleting-embedded-docs/321168

      Currently, when an embedded doc is deleted, .changed? and .children_changed? returns false. Is that the expected behavior? We’d think that when embedded docs are deleted, the result should be true.

              Assignee:
              Unassigned
              Reporter:
              Alex Bevilacqua
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: