You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which I found whilst trying to modify the code for another feature.
So the ViewComponent get's mapped for the mediator. But it's actaully exposed to the entire injector for a bit longer than expected. So you can inject the view component whilst in the 'preInitialize', 'initialize' and 'postInitialize' phase.
For example you can do the following which should cause errors when injecting.
Currently there is a hidden feature due to this line in MediatorFactory.as:
Which I found whilst trying to modify the code for another feature.
So the ViewComponent get's mapped for the mediator. But it's actaully exposed to the entire injector for a bit longer than expected. So you can inject the view component whilst in the 'preInitialize', 'initialize' and 'postInitialize' phase.
For example you can do the following which should cause errors when injecting.
Let me know if this is a hidden feature that isn't documented, or a bug and I'll fix
The text was updated successfully, but these errors were encountered: