Hello folks… I'm giving a try to Ktor again and one aspect that still making me wonder, is related a how "properly" design an application without relying in DI.
In Quarkus/Spring, you inject component classes in other components (classes) and don't think much about it, it "just works".
What might be a good design approach to use in a Ktor application?
Thinking that you might have a couple of "components" that might be used for other components and of course you don't want to have multiple instances spread around.
I've been trying to use mostly independent functions, but not sure how "scalable" is this in a big application.
Cheers 👋