Skip to content

Repository files navigation

Smallrye Typesafe GraphQL client for GitLab WorkItems

GraphQL typesafe client (relying on Smallrye GraphQL) to call some GitLab GraphQL endpoints, in particular the WorkItem one.

Usage:

With this library and io.smallrye:smallrye-graphql-client-implementation-vertx:2.11.0 on the classpath, the client can be instantiated with:

WorkitemClientApi api =  TypesafeGraphQLClientBuilder.newBuilder()
                            .endpoint("https://gitlab.com/api/graphql")
                            // .header("Authorization", "Bearer " + gitlabToken)
                            .build(WorkitemClientApi.class);

Check the RunTest class in this project for usage example.

This library can be used with Quarkus.

Example jbang script:

Check the run.java script that can be executed with jbang using:

jbang run.java

About

Smallrye Typesafe GraphQL client for GitLab WorkItems

Resources

Stars

0 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages