mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 20:19:06 +00:00
Adapt to spring-graphql binder configuration changes
See gh-46053
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ public class GraphQlAutoConfiguration {
|
||||
ObjectProvider<HandlerMethodArgumentResolver> argumentResolvers) {
|
||||
AnnotatedControllerConfigurer controllerConfigurer = new AnnotatedControllerConfigurer();
|
||||
controllerConfigurer
|
||||
.addFormatterRegistrar((registry) -> ApplicationConversionService.addBeans(registry, this.beanFactory));
|
||||
.configureBinder((options) -> options.conversionService(ApplicationConversionService.getSharedInstance()));
|
||||
executorProvider.ifAvailable(controllerConfigurer::setExecutor);
|
||||
argumentResolvers.orderedStream().forEach(controllerConfigurer::addCustomArgumentResolver);
|
||||
return controllerConfigurer;
|
||||
|
||||
Reference in New Issue
Block a user