@Configuration @Import(value=GraphQlConfig.class) public class GraphQlExtension extends Object implements InvestApiExtension
The endpoint is available via on /graphql.
The implementation is backed by GraphQL SPQR (see https://github.com/leangen/graphql-spqr).
In order to add GraphQL queries and mutations to the GraphQL API should annotate Spring bean components with @GraphQLService. These will automatically be picked up by this extension and merged into the schema.
Typically for GraphQL you will want to 'nest' query functionality. We suggest making heavy use of @GraphQlContext from SPQR to achieve this.
| Constructor and Description |
|---|
GraphQlExtension() |
Copyright © 2017–2018 Committed. All rights reserved.