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
In some cases (MonoBehaviours and circular dependencies) we are not able to use constructor injection and therefore must use either property or field injection. What might be nice as another alternative for these cases is to be able to add parameters to the methods that are marked as [PostInject] and have Zenject automatically resolve those dependencies.
The text was updated successfully, but these errors were encountered:
svermeulen
changed the title
Add ability to inject into PostInject methods instead of just constructors
Idea: Add ability to inject into PostInject methods instead of just constructors
Sep 23, 2014
In some cases (MonoBehaviours and circular dependencies) we are not able to use constructor injection and therefore must use either property or field injection. What might be nice as another alternative for these cases is to be able to add parameters to the methods that are marked as [PostInject] and have Zenject automatically resolve those dependencies.
The text was updated successfully, but these errors were encountered: