Posts by Marcos Bastos • 1 point
1 post
-
0
votes0
answers24
viewsQ: A Restcontroller bean at the same time being a Configuration bean and a Component bean hurts SRP?
In a Java application with Spring I came across a class annotated as follows: import ... @Component @RestController @Configuration public class MySender { ... } At first glance I suspected that…