Well it’s possible, but the only reason I see on why you would want to do it is to use some of the integrations. Otherwise, (1) there are some additional interactions between Spring’s reflections and Scala to take into account, and (2) simpler solutions are possible (thanks to the language), which give you greater control of the code and don’t require runtime reflection/annotations

Scala software engineer, Functional Programming enthusiast, SoftwareMill co-founder

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store