Hello, do you have plan for CDI support ? [troll on]
I can’t use spring, it make me sick :p. [troll off]
Do you think it should be easy to adapt vaadin-cdi 3.0.0 to flow ?
thanks and regards.
Hello, do you have plan for CDI support ? [troll on]
I can’t use spring, it make me sick :p. [troll off]
Do you think it should be easy to adapt vaadin-cdi 3.0.0 to flow ?
thanks and regards.
The official CDI add-on is not yet available, but there is community CDI add-on in directory for Flow
https://vaadin.com/directory/component/flowcdi
The big differebnce to Vaadin 8 / CDI add-on 3.0.0 is that there is no ViewScope, and that is because Router in Flow and the View concept is quite different, which makes concept of View ambigious.
Instead this experimental add-on seems to define RouteScope concept.
Thanks a lot !!
CDI add-on has not yet been the highest priority for V10, but it is in our plans, hopefully sooner than later.
Here is the issue you can track for the official add-on https://github.com/vaadin/flow/issues/456. Using the mentioned community add-on is a good starting point for now, and I don’t expect any major changes between that one and the official one.