mbonnin
04/03/2023, 1:09 PMorg.jetbrains.kotlin.plugin.spring
plugin? My understanding is that the beans DSL removes some proxying so it might not require open classes? But I'm stuck at @SpringBootApplication
because I haven't found a non-annotated equivalent.sdeleuze
04/03/2023, 3:30 PM@SpringBootApplication
is meta annotated with @Configuration
which has by default proxyBeanMethods = true
. If you want to avoid proxies by default, you may want to use @Configuration(proxyBeanMethods = false)
and @EnableAutoConfiguration
for example on your application class instead.mbonnin
04/03/2023, 3:31 PMsdeleuze
04/03/2023, 3:32 PMsdeleuze
04/03/2023, 3:32 PMmbonnin
04/03/2023, 3:33 PMsdeleuze
04/03/2023, 3:34 PMmbonnin
04/03/2023, 3:34 PMsdeleuze
04/03/2023, 3:35 PM