/using-graphql-java

Using graphql-java and graphql-java-kickstart on Spring Boot

Primary LanguageJavaApache License 2.0Apache-2.0

groupId: com.graphql-java-kickstart

  • starter: graphql-spring-boot-starter -> /graphql
  • unit test: graphql-spring-boot-starter-test
  • schema viewer: voyager-spring-boot-starter -> /voyager
  • clients:
    • playground-spring-boot-starter -> /playground -> recommended (BETTER than Playground Application)
    • graphiql-spring-boot-starter -> /graphiql
    • altair-spring-boot-starter -> /altair

BETTER than using DataFetcher

Resolve "N+1" fetch problem

Resolve authentication & authorization

Resolve custom scalar

  • graphql.schema.GraphQLEnumType

Resolve custom directives (TODO)

https://www.graphql-java-kickstart.com/tools/directives/

Using WebSocket Subscription (TODO)

Unrecommended