Registry / web-framework / graphql-java

graphql-java

JSON →
library3.0.0javamavenunverified

GraphQL Java implementation for building GraphQL APIs in Java.

<dependency> <groupId>com.graphql-java</groupId> <artifactId>graphql-java</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · GRAPHQL-JAVA
G
graphql-java
web-frameworkjavav3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GraphQL
graphql.GraphQL

Build a GraphQL schema and execute queries.

import graphql.GraphQL; import graphql.schema.GraphQLSchema; public class Main { public static void main(String[] args) { GraphQLSchema schema = GraphQLSchema.newSchema().build(); GraphQL graphQL = GraphQL.newGraphQL(schema).build(); System.out.println("GraphQL ready"); } }
Debug
Known issues
breakingVersion 3.0.0 introduced breaking changes in schema building API.
fix
Update code to use new GraphQLSchema.Builder pattern.
affects: >=3.0.0
Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
Bingbot
18
node
16
Resources
graphql-java — mvn dependency:get graphql-java · libregistry