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
If class C is using @Inject B b; and class B is using @Inject A a ...
C c = feather.instance(C.class);
feather.injectFields(c);
If I don't call injectFields I have an instance of class C but 'c.b' is null.
If I call injectFields then I have c.b is not null but c.b.a is null.
Does that make sense? I don't wanna pass the feather instance through
whole hierarchy or using it as singleton and the calling injectFields on
each node in the hierarchy.
Maybe I'm doing something wrong?
Any comments on this?
The text was updated successfully, but these errors were encountered:
If I don't call injectFields I have an instance of class C but 'c.b' is
null.
If I call injectFields then I have c.b is not null but c.b.a is null.
Does that make sense? I don't wanna pass the feather instance through
whole hierarchy or using it as singleton and the calling injectFields on
each node in the hierarchy.
Maybe I'm doing something wrong?
Any comments on this?
The above terms reflect a potential business arrangement, are provided
solely as a basis for further discussion,
and are not intended to be and do not constitute a legally binding
obligation. No legally binding obligations
will be created, implied, or inferred until an agreement in final form is
executed in writing by all parties involved.
This email may be confidential or privileged. If you received this
communication by mistake, please don't forward
it to anyone else, please erase all copies and attachments, and please let
us know that it has gone to the wrong person.
Hi,
If class C is using @Inject B b; and class B is using @Inject A a ...
C c = feather.instance(C.class);
feather.injectFields(c);
If I don't call injectFields I have an instance of class C but 'c.b' is null.
If I call injectFields then I have c.b is not null but c.b.a is null.
Does that make sense? I don't wanna pass the feather instance through
whole hierarchy or using it as singleton and the calling injectFields on
each node in the hierarchy.
Maybe I'm doing something wrong?
Any comments on this?
The text was updated successfully, but these errors were encountered: