You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that the @ComponentScan and @Configuration are the same. The main difference being @SpringBootApplication's @Inherited (Which I'll admit I don't fully understand) and @Modulith's @Modulithic.
I propose (Likely for 1.1.X due to timing) that we Refactor @Modulith to be the following.
Since the Spring-Modulith Project is supposed to be an opinionated Spring Boot Application, I think the composition of the two Annotations is the best option. It provides a convenient annotation that can easily be used in the baseline of a project, while keeping @Modulthic Separate for instances/users who want to use it in specific ways.
The text was updated successfully, but these errors were encountered:
Discussed a bit during Spring One, but I'll provide the following justifications as to "why" below.
Lets compare the Inherited Annotations between
@Modulith
and@SpringBootApplication
You can see that the
@ComponentScan
and@Configuration
are the same. The main difference being@SpringBootApplication
's@Inherited
(Which I'll admit I don't fully understand) and@Modulith
's@Modulithic
.I propose (Likely for 1.1.X due to timing) that we Refactor
@Modulith
to be the following.Since the Spring-Modulith Project is supposed to be an opinionated Spring Boot Application, I think the composition of the two Annotations is the best option. It provides a convenient annotation that can easily be used in the baseline of a project, while keeping
@Modulthic
Separate for instances/users who want to use it in specific ways.The text was updated successfully, but these errors were encountered: