Spring’s Constructor-Based Dependency Injection with Lombok
In the past, we advised using the constructor to inject dependencies with Spring, and we introduced Lombok.
Guess what?
Those go quite well along together, except maybe for a little trick to known when you wish to use Spring’s @Value
.
We’ll cover all that in this post.