[TYPO3-50-general] Persitence: reinjectDependencies doens't work with constructor injection?

Karsten Dambekalns karsten at typo3.org
Fri Jul 3 10:25:28 CEST 2009


Hi.

On 02.07.2009 12:32 Uhr, Andreas Förthner wrote:
> I think the general problem is, that the constructor might not be a
> simple setter, like the inject* methods. So reinjecting the inject*

Right. I have a few cases were I get something injected but then not 
store that at all, but rather use it right away. So if anything would 
need to be persisted, it would not be what I get injected...

> setter, we won't be able to persist this object correctly. Perhaps we
> should just leave it as it is and write a note in the documentation,
> that people are aware of this.

Well, it *is* documented, right?

Regards,
Karsten


More information about the TYPO3-project-5_0-general mailing list