Open
Description
Hi,
I am using the scanSpringApplication
option together with generateSpringApplicationClient
to generate rest clients. I noticed with scanSpringApplication
all @Bean
s are executed which is too much in my case. Would it be possible to add an option that beans are not executed by default when using scanSpringApplication
or some way to control which beans should be executed and which not?
My current workaround is to look whether the main method was executed or not which works but is not very ideal.
Metadata
Metadata
Assignees
Labels
No labels