Limitations on property / field injection #520
Unanswered
hdavid-bpg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is to inquire about the limitations of using field/properties injection.
I have this in one class:
and then in the LobbyHandler, there is a field injection to an interface(s) that was already registered in the rootScope.
I am using this through unit testing. When referencing the values in the constructor, it is null. However, when injecting it via the constructor, it passes the values. Is there something missing here or any reason for the field injection not working? I have looked
into the documentation but there are no further explanations other than the basic ones.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions