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
I have a class Parent (Assembly A) and Child (Assembly B)
The parent has both Method Injection and Attribute Injection
The Child has nothing to inject.
Source Generator generated following code:
[Preserve]
class ChildGeneratedInjector : IInjector
{
public object CreateInstance(IObjectResolver resolver, IReadOnlyList<IInjectParameter> parameters)
{
var __instance = new Child();
Inject(__instance, resolver, parameters);
return __instance;
}
public void Inject(object instance, IObjectResolver resolver, IReadOnlyList<IInjectParameter> parameters)
{
return;
}
}
What I've expected: Inject to Parent class, too.
The text was updated successfully, but these errors were encountered:
I have a class Parent (Assembly A) and Child (Assembly B)
The parent has both Method Injection and Attribute Injection
The Child has nothing to inject.
Source Generator generated following code:
What I've expected: Inject to Parent class, too.
The text was updated successfully, but these errors were encountered: