Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1243

Add DataObjectModification.getDataBefore()

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Post-Helium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    Description

      Not exposing the before-state requires users to track this state themselves. The problem is most visible in the delete case, if the user needs some attributes to reconstruct keys to other structures in order to perform cleanup – they would effectively have to retain a InstanceIdentifier->data map to efficiently perform deletes.

      This ability already exists in DataChangeEvents, which DataObjectModification is aimed to replace. Rather than forcing everyone to duplicate data, expose the before-state, as best available.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: