com.expedia:graphql-kotlin-schema-generator

Code-only GraphQL schema generation for Kotlin

License

License

Categories

Categories

Kotlin Languages
GroupId

GroupId

com.expedia
ArtifactId

ArtifactId

graphql-kotlin-schema-generator
Last Version

Last Version

1.0.0-RC5
Release Date

Release Date

Type

Type

jar
Description

Description

Code-only GraphQL schema generation for Kotlin

Download graphql-kotlin-schema-generator

How to add to project

<!-- https://jarcasting.com/artifacts/com.expedia/graphql-kotlin-schema-generator/ -->
<dependency>
    <groupId>com.expedia</groupId>
    <artifactId>graphql-kotlin-schema-generator</artifactId>
    <version>1.0.0-RC5</version>
</dependency>
// https://jarcasting.com/artifacts/com.expedia/graphql-kotlin-schema-generator/
implementation 'com.expedia:graphql-kotlin-schema-generator:1.0.0-RC5'
// https://jarcasting.com/artifacts/com.expedia/graphql-kotlin-schema-generator/
implementation ("com.expedia:graphql-kotlin-schema-generator:1.0.0-RC5")
'com.expedia:graphql-kotlin-schema-generator:jar:1.0.0-RC5'
<dependency org="com.expedia" name="graphql-kotlin-schema-generator" rev="1.0.0-RC5">
  <artifact name="graphql-kotlin-schema-generator" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.expedia', module='graphql-kotlin-schema-generator', version='1.0.0-RC5')
)
libraryDependencies += "com.expedia" % "graphql-kotlin-schema-generator" % "1.0.0-RC5"
[com.expedia/graphql-kotlin-schema-generator "1.0.0-RC5"]

Dependencies

compile (6)

Group / Artifact Type Version
com.graphql-java : graphql-java jar 13.0
org.jetbrains.kotlinx : kotlinx-coroutines-jdk8 jar 1.2.1
org.jetbrains.kotlin : kotlin-reflect jar 1.3.31
org.reflections : reflections jar 0.9.11
com.fasterxml.jackson.module : jackson-module-kotlin jar 2.9.8
org.jetbrains.kotlin : kotlin-stdlib jar 1.3.31

test (5)

Group / Artifact Type Version
io.reactivex.rxjava2 : rxjava jar 2.2.8
org.jetbrains.kotlin : kotlin-test-junit5 jar 1.3.31
org.junit.jupiter : junit-jupiter-api jar 5.4.2
org.junit.jupiter : junit-jupiter-engine jar 5.4.2
io.mockk : mockk jar 1.9.3

Project Modules

There are no modules declared in this project.

GraphQL Kotlin

Continuous Integration Publish Docs Discussions Slack

GraphQL Kotlin is a collection of libraries, built on top of graphql-java, that aim to simplify running GraphQL clients and servers in Kotlin.

Visit our documentation site for more details.

๐Ÿ“ฆ Modules

  • clients - Lightweight GraphQL Kotlin HTTP clients based on Ktor HTTP client and Spring WebClient
  • examples - Example apps that use graphql-kotlin libraries to test and demonstrate usages
  • generator - Code-First schema generator and extensions to build Apollo Federation schemas
  • plugins - Gradle and Maven plugins
  • servers - Common and library specific modules for running a GraphQL server

โŒจ๏ธ Usage

While all the individual modules of graphql-kotlin are published as stand-alone libraries, the most common use cases are running a server, and genereating a type-safe client.

Server Example

A basic example of how you can run a GraphQL server can be found on our server documentation section.

Client Example

A basic setup of a GraphQL client can be found on our client documentation section.

๐Ÿ“‹ Documentation

More examples and documentation are available on our documentation site hosted in GitHub Pages. We also have the examples module which can be run locally for testing and shows example code using the libraries.

If you have a question about something you can not find in our documentation, the indivdual module READMEs, or javadocs, feel free to contribute to the docs or start a disucssion and tag it with the question label.

If you would like to contribute to our documentation see the website directory for more information.

๐Ÿ—ž Blog Posts and Videos

The Blogs & Videos page in the GraphQL Kotlin documentation links to blog posts, release announcements, conference talks about the library, and general talks about GraphQL at Expedia Group.

๐Ÿ‘ฅ Contact

This project is part of Expedia Group Open Source but also maintained by a dedicated team

If you have a specific question about the library or code, please start a disucssion for the community.

We also have a public channel, (#graphql-kotlin), open on the Kotlin Slack instance (kotlinlang.slack.com). See the info here on how to join this slack instance.

โœ๏ธ Contributing

To get started, please fork the repo and checkout a new branch. You can then build the library locally with Gradle

./gradlew clean build

See more info in CONTRIBUTING.md.

After you have your local branch set up, take a look at our open issues to see where you can contribute.

๐Ÿ›ก๏ธ Security

For more info on how to contact the team for security issues or the supported versions that receive security updates, see SECURITY.md

โš–๏ธ License

This library is licensed under the Apache License, Version 2.0

com.expedia

Expedia.com

Versions

Version
1.0.0-RC5
1.0.0-RC4
1.0.0-RC3
1.0.0-RC2