Mark
12/15/2024, 3:15 AMsingleOf<Foo>(::FooImpl)
It works without the generic argument, but I don’t want to expose FooImpl
. Any ideas?
EDIT: oh I see someone just asked this last week. So:
singleOf(::FooImpl) {
bind<Foo>()
}
Curious why it’s not possible for the brief form?arnaud.giuliani
12/16/2024, 8:50 AMMark
12/16/2024, 9:02 AMarnaud.giuliani
12/16/2024, 10:59 AMThanks Arnaud. Is it technically not possible to support the reified argument?this DSL part is not ideal, this is why I open exploration on compiler plugin backed up DSL to help write minimum reified stuff and let the plugin generate most of the part