Closed xkons closed 7 years ago
The use case is that if you have additional life cycle event listeners set up in Doctrine that initialize fields marked as translatable, we want Polyglot to handle these fields (injecting the value holders) somewhat later.
In result, it should be possible to use Polyglot also for fields not managed directly by Doctrine, but by additional extensions depending on the postLoad
event.
@xkons Fine!
Could you please add a short changelog entry as well ("changed priority ... to -100... to defer injection of translation objects..." or similar), and then merge this and create a release tag? I think this qualifies as a bugfix.
Thanks!
This way I can be sure that objects that are to be translated are actually ready.