Evgeniy Zaharov
08/27/2019, 4:11 PMktor
have any plans in future to implement a huge customization futures like spring
project have?
For example in spring exist inner DI with which you could in next configuration steps retrieve some bean from previous. Or in runtime replace any bean in context by creating it by yourself.
For now ktor doesn’t contain any DI system internal and such cases is difficult to implement without it. And for now I couldn’t imagine how to implement something like spring starters which are comes with new beans inserting to context + bean post processors which could customize beans depends on conditions/previous creatated beans/etc.
I don’t say that ktor
is going by wrong way or what it’s had some invalid architecture constructions. Me really likes how it constructs internal. And I just want to know, is at ever possible to do something like in spring for ktor?katokay
08/27/2019, 4:35 PMEvgeniy Zaharov
08/27/2019, 5:45 PMgildor
08/28/2019, 6:49 AMEvgeniy Zaharov
08/28/2019, 7:26 AMspring
. But mb you may have any thoughts about how it could be done in ktor with another tool.install
section, be possible to store and retrieve some configured classes. But it again be like DI.