未验证 提交 73b34c42 编写于 作者: B Bogdan Kobylynskyi 提交者: GitHub

Update README.md

上级 f83708c4
......@@ -12,16 +12,30 @@
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).
* Interfaces for GraphQL type fields (e.g. for parametrized fields) aka "Resolvers".
* Client Request classes for GraphQL queries, mutations and subscriptions.
## Features
* Generate classes in Java, Kotlin or Scala.
* Recursive schemas lookup by file name pattern.
* Generate code based on GraphQL schema or GraphQL Query Introspection Result.
* Generate POJOs with: Builder pattern, immutable fields, `toString()`, `equals()` and `hashCode()`, etc.
* Flexible API interfaces naming conventions (based on schema file name, folder name, etc)
* Ability to define custom java package names for model and API classes.
* Ability to define custom prefix/suffix for model, API, type resolver, request, response classes.
* Ability to define custom annotations (e.g.: validation annotations for your model classes or based on GraphQL directives)
* Ability to define custom configuration for Relay support.
**For the full list of codegen configs please refer to: [Codegen Options](docs/codegen-options.md)**
## Supported plugins
* Gradle plugin: [graphql-java-codegen-gradle-plugin](plugins/gradle)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册