I started playing around with SuspendApp + Ktor a ...
# arrow
e
I started playing around with SuspendApp + Ktor a bit. Ktor refers to using
application.conf
for some configuration, but it seems it's not loaded when using
suspendapp-ktor
?
s
Uhm, that is strange 🤔
SuspendApp
just delegates to the
embeddedServer
function from Ktor, it doesn't do anything expect install the
stop(x, x)
method into the
ResourceScope
. I am refining SuspendApp alongside the 2.0 release, so perfect time for feedback 😁
e
Hmm.. guess loading of
application.conf
is a feature of
EngineMain
when it builds a commandLineEnvironment. 🙂 I'll probably start looking at using hoplite for explicit config anyway
s
Hoplite with this setup is really nice! I prefer it over the default Ktor support tbh. Anyway, I'd love to hear any feedback you might have.
o