Ah yep, thought you might have been referring to Spring, and totally agree on runtime vs. compile time.
I've switched to Micronaut of late for that precise reason - all the injection happens at compile time, so far quicker to pick up.
Downsides though are that Micronaut sometimes doesn't provide super-helpful error messages - or silently fails to do DI when `micronaut-inject-java` isn't in the dependencies.
I've switched to Micronaut of late for that precise reason - all the injection happens at compile time, so far quicker to pick up.
Downsides though are that Micronaut sometimes doesn't provide super-helpful error messages - or silently fails to do DI when `micronaut-inject-java` isn't in the dependencies.