Let's say I have a class
public class Foo{
@Inject
public Foo(MessageBus messageBus, SomeServiceAsync service){
...
}
...
I have some doubt on how I would construct such a class, given that the constructor parameters are to be injected. Or must I somehow also get an instance of the Foo class through Gin (is that the case anyway for injection to take place)?
Thanks in advance