GraphQL Java CodeGen

Java Code Generator based on GraphQL schema

License

License

MIT License
Categories

Categories

Java Languages
GroupId

GroupId

io.growing
ArtifactId

ArtifactId

graphql-java-codegen
Last Version

Last Version

gio-3.1.3
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

GraphQL Java CodeGen
Java Code Generator based on GraphQL schema
Project URL

Project URL

https://github.com/growingio/graphql-java-codegen
Project Organization

Project Organization

io.growingio
Source Code Management

Source Code Management

https://github.com/growingio/graphql-java-codegen

Download graphql-java-codegen

Dependencies

runtime (8)

Group / Artifact Type Version
org.freemarker : freemarker jar 2.3.30
com.graphql-java : graphql-java jar 15.0
com.fasterxml.jackson.core : jackson-databind jar 2.11.3
com.squareup.okhttp3 : okhttp jar 4.9.0
com.fasterxml.jackson.module : jackson-module-parameter-names jar 2.11.3
com.fasterxml.jackson.datatype : jackson-datatype-jdk8 jar 2.11.3
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.11.3
com.fasterxml.jackson.core : jackson-core jar 2.11.3

Project Modules

There are no modules declared in this project.

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

io.growing

GrowingIO

Versions

Version
gio-3.1.3