Skip to content

growingio/graphql-java-codegen

 
 

Repository files navigation

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

About

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

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 89.5%
  • Scala 6.9%
  • FreeMarker 3.6%