Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2553

FactoryUtil: should return a proxy object for observed objects


    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3
    • None
    • core
    • None

      The problematic point is that code which keeps a reference to an object will never see an reloaded changes. It would be more convenient and saver if the factory would return and cache a proxy instead.

      Before this, code using such objects always had to get a fresh instance through the factory; once this is implemented, they can keep a reference (i.e get it in their constructor - potentially injected)

        Acceptance criteria

              gjoseph Magnolia International
              pbaerfuss Philipp Bärfuss
              0 Vote for this issue
              0 Start watching this issue