Skip to content

Commit

Permalink
Autoconfigure after Spring boot scheduler to prevent Boot @conditiona…
Browse files Browse the repository at this point in the history
…lOnMissingBean doesn't pick up the scheduled executor bean.
  • Loading branch information
paulbakker committed Nov 23, 2023
1 parent edda8b6 commit e467d7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import java.util.concurrent.ScheduledExecutorService
* This does NOT have logging, tracing, metrics and security integration.
*/
@Suppress("SpringJavaInjectionPointsAutowiringInspection")
@AutoConfiguration
@AutoConfiguration(afterName = ["org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration"])
@EnableConfigurationProperties(DgsConfigurationProperties::class, DgsDataloaderConfigurationProperties::class)
@ImportAutoConfiguration(classes = [JacksonAutoConfiguration::class, DgsInputArgumentConfiguration::class])
open class DgsAutoConfiguration(
Expand Down

0 comments on commit e467d7b

Please sign in to comment.