Hi all, I am using the DependencyManager (not SCR), and am wondering if with composition it is possible to add additional dependencies in the other classes of a component?
In my tests this does not work, but perhaps I am missing something? Eg: @Component class MyComponent { MyComposition myComp = new MyComposition(this); @Composition getComposition() { return new Object() { this, myComp }; } // ... } class MyComposition { // new dependency, not present in MyComponent, this does not seem to work @ServiceDependency(service = MyService.class) void addMyService(MyService service) { // ... } } -- Met vriendelijke groet, Alexander Broekhuis