@Configuration public class GraphQlConfig extends Object
This acts to:
GraphQLService annotations and expose a GraphQlServices bean with them
| Constructor and Description |
|---|
GraphQlConfig() |
| Modifier and Type | Method and Description |
|---|---|
GraphQlHandler |
graphQlHandler(graphql.schema.GraphQLSchema schema,
com.fasterxml.jackson.databind.ObjectMapper mapper) |
org.springframework.web.reactive.function.server.RouterFunction<org.springframework.web.reactive.function.server.ServerResponse> |
graphQlRouterFunction(GraphQlHandler handler) |
GraphQlServices |
graphQlServices() |
graphql.schema.GraphQLSchema |
schema(GraphQlServices services) |
@Bean public org.springframework.web.reactive.function.server.RouterFunction<org.springframework.web.reactive.function.server.ServerResponse> graphQlRouterFunction(GraphQlHandler handler)
@Bean public GraphQlHandler graphQlHandler(graphql.schema.GraphQLSchema schema, com.fasterxml.jackson.databind.ObjectMapper mapper)
@Bean public GraphQlServices graphQlServices()
@Bean public graphql.schema.GraphQLSchema schema(GraphQlServices services)
Copyright © 2017–2018 Committed. All rights reserved.