Home

Awesome

GraphQL Java Tools

Github Build Maven Central Discuss on GitHub

This library allows you to use the GraphQL schema language to build your graphql-java schema. Inspired by graphql-tools, it parses the given GraphQL schema and allows you to BYOO (bring your own object) to fill in the implementations. GraphQL Java Tools works well if you already have domain POJOs that hold your data (e.g. for RPC, ORM, REST, etc) by allowing you to map these "magically" to GraphQL objects.

GraphQL Java Tools aims for seamless integration with Java, but works for any JVM language. Try it with Kotlin!

We are looking for contributors!

Are you interested in improving our documentation, working on the codebase, reviewing PRs?

Reach out to us on GitHub and join the team!

Quick start

Using Gradle

Set the Kotlin version in your gradle.properties:

kotlin.version=1.8.21

Add the dependency:

compile 'com.graphql-java-kickstart:graphql-java-tools:13.1.1'

Using Maven

Set the Kotlin version in your <properties> section:


<properties>
    <kotlin.version>1.8.21</kotlin.version>
</properties>

Add the dependency:

<dependency>
    <groupId>com.graphql-java-kickstart</groupId>
    <artifactId>graphql-java-tools</artifactId>
    <version>13.1.1</version>
</dependency>

Documentation

Take a look at our documentation for more details.

Why GraphQL Java Tools?

Known Issues

Known issues are aggregated at the wiki.