I\'m still at the beginning in learning scala in addition to java and i didn\'t get it how is one supposed to do DI there? can or should i use an existing DI library, should it
I would suggest you to try distage (disclaimer: I'm the author).
It allows you to do much more than a typical DI does and has many unique traits:
scala-reflect
(but supports all the necessary features of Scala typesystem, like
higher-kinded types).You may also watch our talk at Functional Scala 2019 where we've discussed and demonstrated some important capabiliteis of distage.