GraphQL Java Codegen makes it easy to make your Java application to follow a schema-first approach whether it is a server or client application.
Following classes can be generated based on your GraphQL schema:
- Interfaces for GraphQL queries, mutations and subscriptions.
- Interfaces for GraphQL unions.
- POJO classes for GraphQL types and inputs.
- Enum classes for GraphQL enums.
- Interface Resolvers for GraphQL type fields (e.g. for parametrized fields).
- Client Request classes for GraphQL queries, mutations and subscriptions.
This is a mirror repository, which aims to add some customization functions that are not convenient to implement on the source repository.
2020-12-22
- Fix the conflict between the default name and the resolver name.
- Modify groupId for the library and SBT plugin to prepare for the release of the library and SBT plugin.
2020-10-22
- support to generate default resolver's impl.
- Gradle plugin: graphql-java-codegen-gradle-plugin
- Maven plugin: grapqhl-java-codegen-maven-plugin
- SBT plugin: grapqhl-java-codegen-sbt-plugin
Please see CONTRIBUTING.md.