From ee420ce369aac1d4c998ff7f42a16a7275199631 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Tue, 17 Sep 2024 13:10:14 -0700 Subject: [PATCH] Fix incorrect conditional around wiring of execution strategies (#2012) --- .../autoconfig/DgsSpringGraphQLAutoConfiguration.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt b/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt index 9536ae0b6..3c866f61a 100644 --- a/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt +++ b/graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/autoconfig/DgsSpringGraphQLAutoConfiguration.kt @@ -130,9 +130,10 @@ open class DgsSpringGraphQLAutoConfiguration { if (preparsedDocumentProvider.isPresent) { graphQlBuilder .preparsedDocumentProvider(preparsedDocumentProvider.get()) - .queryExecutionStrategy(queryExecutionStrategy) - .mutationExecutionStrategy(mutationExecutionStrategy) } + graphQlBuilder + .queryExecutionStrategy(queryExecutionStrategy) + .mutationExecutionStrategy(mutationExecutionStrategy) } } }