Skip to content

olim7t/graphql-java-servlet

Repository files navigation

Build Status Maven Central Chat on Gitter

GraphQL Servlet

Implementation of GraphQL Java Servlet including support for Relay.js, Apollo and OSGi out of the box. This project wraps the Java implementation of GraphQL provided by GraphQL Java. See GraphQL Java documentation for more in depth details regarding GraphQL Java itself.

We try to stay up to date with GraphQL Java as much as possible. The current version supports GraphQL Java 14.0.

This project requires at least Java 8.

Installation and getting started

See Getting started for more detailed instructions.

Relay.js support

Relay.js support is provided by the EnhancedExecutionStrategy of graphql-java-annotations. You MUST pass this execution strategy to the servlet for Relay.js support.

This is the default execution strategy for the OsgiGraphQLHttpServlet, and must be added as a dependency when using that servlet.

About

Servlet endpoint for GraphQL Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 72.4%
  • Groovy 26.9%
  • Shell 0.7%