Skip to content

Commit

Permalink
Added @qualifier("requestMappingHandlerAdapter") to RequestMappingHan…
Browse files Browse the repository at this point in the history
…dlerAdapter argument.
  • Loading branch information
paulbakker committed Oct 12, 2023
1 parent 01b5cb2 commit 8486ee0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ open class DgsWebMvcAutoConfiguration {

@Bean
@Dgs
open fun dgsWebDataBinderFactory(adapter: ObjectProvider<RequestMappingHandlerAdapter>): WebDataBinderFactory {
open fun dgsWebDataBinderFactory(@Qualifier("requestMappingHandlerAdapter") adapter: ObjectProvider<RequestMappingHandlerAdapter>): WebDataBinderFactory {
return ServletRequestDataBinderFactory(listOf(), adapter.ifAvailable?.webBindingInitializer)
}

Expand Down

0 comments on commit 8486ee0

Please sign in to comment.