Skip to content

Commit ebe5d4e

Browse files
committed
Adapt to spring-graphql binder configuration changes
See gh-46053
1 parent db164cb commit ebe5d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/spring-boot-graphql/src/main/java/org/springframework/boot/graphql/autoconfigure/GraphQlAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public AnnotatedControllerConfigurer annotatedControllerConfigurer(
163163
ObjectProvider<HandlerMethodArgumentResolver> argumentResolvers) {
164164
AnnotatedControllerConfigurer controllerConfigurer = new AnnotatedControllerConfigurer();
165165
controllerConfigurer
166-
.addFormatterRegistrar((registry) -> ApplicationConversionService.addBeans(registry, this.beanFactory));
166+
.configureBinder((options) -> options.conversionService(ApplicationConversionService.getSharedInstance()));
167167
executorProvider.ifAvailable(controllerConfigurer::setExecutor);
168168
argumentResolvers.orderedStream().forEach(controllerConfigurer::addCustomArgumentResolver);
169169
return controllerConfigurer;

0 commit comments

Comments
 (0)