Well, from what I understand App() is the singular...
# tornadofx
c
Well, from what I understand App() is the singular point of entry in TornadoFX application, so if we define external DI there, we'll be ok. The question is probably - how do we do it, do we provide predefined setup method and offer user to call it in
init {}
or maybe do a class that extends App and offer the user to use that if they want external DI, both have merits, I guess we have to try and see.
👍 1
a
I'd rather not intoduce subclassing, it's less flexible