Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 62041ff

Browse files
committed
Use GraphQLResponseCacheManager.
1 parent 4640762 commit 62041ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import graphql.kickstart.servlet.AbstractGraphQLHttpServlet;
3939
import graphql.kickstart.servlet.GraphQLConfiguration;
4040
import graphql.kickstart.servlet.GraphQLHttpServlet;
41-
import graphql.kickstart.servlet.cache.GraphQLResponseCache;
41+
import graphql.kickstart.servlet.cache.GraphQLResponseCacheManager;
4242
import graphql.kickstart.servlet.config.DefaultGraphQLSchemaServletProvider;
4343
import graphql.kickstart.servlet.config.GraphQLSchemaServletProvider;
4444
import graphql.kickstart.servlet.context.GraphQLServletContextBuilder;
@@ -132,7 +132,7 @@ public class GraphQLWebAutoConfiguration {
132132
private BatchInputPreProcessor batchInputPreProcessor;
133133

134134
@Autowired(required = false)
135-
private GraphQLResponseCache graphQLResponseCache;
135+
private GraphQLResponseCacheManager responseCacheManager;
136136

137137
@PostConstruct
138138
void postConstruct() {
@@ -289,7 +289,7 @@ public GraphQLConfiguration graphQLServletConfiguration(GraphQLInvocationInputFa
289289
.with(graphQLServletProperties.getSubscriptionTimeout())
290290
.with(batchInputPreProcessor)
291291
.with(graphQLServletProperties.getContextSetting())
292-
.with(graphQLResponseCache)
292+
.with(responseCacheManager)
293293
.build();
294294
}
295295

0 commit comments

Comments
 (0)