Class GraphQlTesterAutoConfiguration
java.lang.Object
org.springframework.boot.test.autoconfigure.graphql.tester.GraphQlTesterAutoConfiguration
@AutoConfiguration(after={JacksonAutoConfiguration.class,GraphQlAutoConfiguration.class})
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.test.tester.GraphQlTester.class})
public class GraphQlTesterAutoConfiguration
extends Object
Auto-configuration for
GraphQlTester
.- Since:
- 2.7.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.test.tester.ExecutionGraphQlServiceTester
graphQlTester
(org.springframework.graphql.ExecutionGraphQlService graphQlService, ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider)
-
Constructor Details
-
GraphQlTesterAutoConfiguration
public GraphQlTesterAutoConfiguration()
-
-
Method Details
-
graphQlTester
@Bean @ConditionalOnBean(org.springframework.graphql.ExecutionGraphQlService.class) @ConditionalOnMissingBean public org.springframework.graphql.test.tester.ExecutionGraphQlServiceTester graphQlTester(org.springframework.graphql.ExecutionGraphQlService graphQlService, ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider)
-