Quarkus version which we use at the moment doesn't support pseudo-scopes.
See quarkusio/quarkus#19725.
The ticket is already fixed but the Quarkus version which we use doesn't contain it.
Once the Quarkus version with the fix is released pseudo-scopes should be added: UISxoped. and RouteScoped.
The implementation is quite simple but they need:
unit tests. That's also quite simple since there is InjectableContextTest class which contains all the generic methods for tests.
ITs. The ITs added for #13 are quite truncated since all the cases when Component is a bean can't be implemented (Components can't be in the normal scope). It means that original CDI tests need to be checked and the UI views and corresponding ITs should be added to the existing ITs for normal scope.
There is a bug https://github.com/vaadin/quarkus/issues/24 which blocks checks for RouteScope because HasErrorParameter can be used with RouteScoped (implementation-wise) but HasErrorParameter is not created using CDI injection mechanisms so it's not possible to inject anything there and RouteScoped ITs for HasErrorParameter needs to be copied from CDI to Quarkus (even though in fact it's possible to avoid injection and use static way to get beans)
Follow up #13.
Should be done after https://github.com/vaadin/quarkus/issues/27 and https://github.com/vaadin/quarkus/issues/24
Quarkus version which we use at the moment doesn't support pseudo-scopes. See quarkusio/quarkus#19725.
The ticket is already fixed but the Quarkus version which we use doesn't contain it. Once the Quarkus version with the fix is released pseudo-scopes should be added:
UISxoped
. andRouteScoped
.The implementation is quite simple but they need:
InjectableContextTest
class which contains all the generic methods for tests.There is a bug https://github.com/vaadin/quarkus/issues/24 which blocks checks for RouteScope because
HasErrorParameter
can be used withRouteScoped
(implementation-wise) butHasErrorParameter
is not created using CDI injection mechanisms so it's not possible to inject anything there and RouteScoped ITs forHasErrorParameter
needs to be copied from CDI to Quarkus (even though in fact it's possible to avoid injection and use static way to get beans)