growingio / graphql-java-codegen   gio-3.1.3

GitHub

Mirror repository of graphql-java-codegen(Including customized functions)

Scala versions: 2.12
sbt plugins: 1.x

GraphQL Codegen

Build Discussions License: MIT

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.

Update logs

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.

Supported plugins

Contributing

Please see CONTRIBUTING.md.

Inspired by

swagger-codegen