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

Changed, Changes, & Errors: Root and Recursively Children

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      There should be methods similar to changed, changes, and errors, that operate not just on the self but on the self and all of self's embedded child documents. E.g. if an embedded document is invalid, calling something like tree_errors should wrap up the errors for the parent and for the embedded document.

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

              Created:
              Updated:
              Resolved: