Adapt to spring-graphql binder configuration changes

See gh-46053
This commit is contained in:
Brian Clozel
2025-07-17 15:13:50 +02:00
parent db164cb64f
commit ebe5d4e59d
@@ -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;