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
Hi,
I am using the scanSpringApplication option together with generateSpringApplicationClient to generate rest clients. I noticed with scanSpringApplication all @Beans 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.
The text was updated successfully, but these errors were encountered:
Hi,
I am using the
scanSpringApplication
option together withgenerateSpringApplicationClient
to generate rest clients. I noticed withscanSpringApplication
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 usingscanSpringApplication
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.
The text was updated successfully, but these errors were encountered: