java.lang.Object
com.graphql_java_generator.samples.forum.client.graphql.forum.client_spring_autoconfiguration.GraphQLPluginAutoConfiguration

@AutoConfiguration public class GraphQLPluginAutoConfiguration extends Object
This Spring AutoConfiguration class defines the default Spring Beans for this GraphQL schema.
Author:
etienne-sf
  • Constructor Details

    • GraphQLPluginAutoConfiguration

      public GraphQLPluginAutoConfiguration()
  • Method Details

    • webClient

      @Bean @ConditionalOnMissingBean(name="webClient") public org.springframework.web.reactive.function.client.WebClient webClient(String graphqlEndpoint)
      The Spring reactive WebClient that will execute the HTTP requests for GraphQL queries and mutations.
      This bean is only created if no such bean already exists