beepdog
12/30/2018, 6:55 PMbeepdog
12/30/2018, 6:56 PMbeepdog
12/30/2018, 7:00 PMCzar
01/22/2019, 8:41 PMby di()
and by inject()
. From samples I understand that inject()
is for tornadofx `Component`s, di()
for everything else, but why not keep one and inject everything with it?
On an off note: I wish people used threads 🙂
On a note even more off: I wish Slack UX team made using threads easier and a more obvious choice.sbyrne
01/22/2019, 8:41 PMamanda.hinchman-dominguez
01/22/2019, 8:46 PMamanda.hinchman-dominguez
01/22/2019, 8:46 PMamanda.hinchman-dominguez
01/22/2019, 8:50 PMamanda.hinchman-dominguez
01/22/2019, 8:51 PMby di()
when you create dependency containers! This kind of reminds me of dagger or other third party injection frameworksamanda.hinchman-dominguez
01/22/2019, 8:52 PMby inject( )
is more TornadoFX specific for the singleton instancesamanda.hinchman-dominguez
01/22/2019, 8:53 PMdi( )
containers, services etc. But I'd like to start getting there soonamanda.hinchman-dominguez
01/22/2019, 8:54 PMCzar
01/22/2019, 8:57 PMCzar
01/22/2019, 8:58 PMRest
component it just isn't able to do some of the stuff I need and isn't flexible enough for my use case.Czar
01/22/2019, 8:59 PMrunAsync{}
runLater
and friends. I'm using a reactive client and it's a bit painful 🙂Czar
01/22/2019, 9:01 PMamanda.hinchman-dominguez
01/22/2019, 9:03 PMCzar
01/22/2019, 9:05 PMCzar
01/22/2019, 9:05 PMamanda.hinchman-dominguez
01/22/2019, 9:07 PMamanda.hinchman-dominguez
01/22/2019, 9:08 PMamanda.hinchman-dominguez
01/22/2019, 9:08 PMinteract { }
now for testing. Giving it a shot. burned out a couple days ago. Does anyone know where I can look into documentation for that?Czar
01/22/2019, 9:12 PMRest
component is not reactive and also its configuration approach isn't flexible enough for me. So I've switched to Spring's WebClient. This part already works in my application, I've even implemented log-in/log-out and can make authenticated requests.
Now the real work begins - building all the screens and workflows, but the parts where reactive `Flux`s and `Mono`s touch with tornadofx stuff are a bit ugly.Czar
01/22/2019, 9:13 PMCzar
01/22/2019, 9:16 PMamanda.hinchman-dominguez
01/22/2019, 9:20 PMCzar
01/22/2019, 9:23 PMdi()
inject()
I don't understand why the separation. Other frameworks I've seen which allow IoC container integration ususally just merge their own IoC with the one they're being integrated with.amanda.hinchman-dominguez
01/22/2019, 9:28 PMamanda.hinchman-dominguez
01/22/2019, 10:21 PMamanda.hinchman-dominguez
01/22/2019, 10:22 PM