为什么需要 GraphQL
项目开始时人员配备一般有几种情况
项目开始时人员配备一般有几种情况
Java with GraphQL
Module | Description |
---|---|
jraphql-lang | GraphQL language representation |
jraphql-runtime | GraphQL execution engine |
jraphql-parser-antlr | Parser written in Antlr4 parse to jraphql-lang |
Feature | Description |
---|---|
Serializable | can parse or stringify to or from JSON |
Immutable | friendly to cache or precompile |
Buildable | every type has a builder for it generated by lombok. |
Pluggable | language representation is not related to parser impl |
extend by name
syntax for object and interface#new MetaResolver().setDisableIntrospection(true)
JraphQL Runtime contain a embedded schema MetaSchema, generated by EmbededSchema.
Queries you can try
GoaphQL can generate code from schema that depends on jrapgql-api, can directly run on jraphql-graphql-java-adapter.
The generated code is static type and full featured, everything is an interface.