Class GraphQlTesterAutoConfiguration

java.lang.Object
org.springframework.boot.test.autoconfigure.graphql.tester.GraphQlTesterAutoConfiguration

@AutoConfiguration(after={org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration.class,org.springframework.boot.autoconfigure.graphql.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.graphql.test.tester.ExecutionGraphQlServiceTester
    graphQlTester(org.springframework.graphql.ExecutionGraphQlService graphQlService, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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, org.springframework.beans.factory.ObjectProvider<com.fasterxml.jackson.databind.ObjectMapper> objectMapperProvider)