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
When one function calls the other, the generated code will contain the injection of its dependencies, e.g.,
@ImplementedBy(Foo.FooDefault.class)
public abstract class Foo implements RosettaFunction {
@Inject
protected Bar bar; // its dependency is injected, but never used within the abstract base class.
public static class FooDefault extends Foo {
// this class actually uses `bar`, so the injection should happen here.
}
}
This leads to superfluous injections for custom non-default implementations of Foo, which might not depend on Bar.
The text was updated successfully, but these errors were encountered:
When one function calls the other, the generated code will contain the injection of its dependencies, e.g.,
This leads to superfluous injections for custom non-default implementations of
Foo
, which might not depend onBar
.The text was updated successfully, but these errors were encountered: