Now that the Spring GraphQL project has made significant project in its Milestone phase, we should move the experimental auto-configuration and starter in this project.
We should address the following tasks:
- [x] Add dependency management for Spring GraphQL and GraphQL Java
- [x] Auto-configure Spring GraphQL base infrastructure
- [x] Add a FailureAnalyzer for InvalidSchemaLocationsException
- [x] Auto-configure HTTP transport for MVC and WebFlux
- [x] Auto-configure schema printer and graphiql endpoints
- [x] Auto-configure CORS options for GraphQL web endpoints
- [x] Auto-configure GraphQL WebSocket endpoint
- [x] Auto-configure Query* support for GraphQL
- [x] Auto-configure security for Spring GraphQL
- [x] Add testing support with
GraphQlTester
and@GraphQlTest
- [x] Add Metrics support
- [x] Create Spring Boot starter
See spring-projects/spring-graphql#207