Hi
In our errai app, we have a some widgets that share a common interface, but different implementation.
I tried using CDI qualifiers, and while the app compiled fine, when running I got an error.
The basic concept (I do not have the code handy) was the following:
@Inject @Foo InterfaceForWidget foo; @Inject @Bar InterfaceForWidget bar; ... myDiv.add(foo); // error
Is such a thing supported in Errai?
Yes, CDI qualifiers are supported and well-tested in Errai's IoC container. We'd probably need to see the exact code and the full error message to figure out what's going wrong in this case.
-Jonathan