On 2008-08-26 07:55:36 -0300, Lukas Renggli <renggli(a)iam.unibe.ch> said:
BTW: as far as
I understand Piers design, persistency is supposed to
be managed by the Pier kernel: PRCommand>>execute says self kernel
persistency execute: self.
Yeah, if you need to know about executed commands then create your own
persistency strategy and override #apply:. This can also be a simple
delegator, that passes all requests to the default strategy and
handles certain cases differently.
Yes, that's exactly what I did... the problem is with PRAddCommand,
because it creates the new child every time #child is called, then I am
not working in the instance I saved but in a new one, that's why I want
to change #child implementation, to keep the first instance it creates.
Cheers,
Lukas