I wish there were a way to apply this strategy to the whole object graph
(not just fields). I use local final LoadableDetachableModels on occasion,
and it'd be nice for those to magically detach too. I'm +0.

Just got Calc-Eric's message. Looks like we're on the same page.

On Fri, Apr 6, 2012 at 10:42 AM, Igor Vaynberg <[email protected]>wrote:

> i wrote a IDetachListener that automatically detaches any IModel
> fields found on components. is this something we would be interested
> in for core? its been running in production for a while without any
> noticeable overhead and its nice not to have to implemenet onDetach()
> all the time just to forward it to secondary models. the only downside
> is that once we introduce this feature we can never remote it because
> doing so will break code.
>
> thoughts?
>
> -igor
>

Reply via email to