https://github.com/chrynan/graphkl
Kotlin Multi-platform Library for working with GraphQL
https://github.com/chrynan/graphkl
graphql graphql-client graphql-server graphql-tools kotlin kotlin-library kotlin-multi-platform kotlin-multiplatform
Last synced: 3 months ago
JSON representation
Kotlin Multi-platform Library for working with GraphQL
- Host: GitHub
- URL: https://github.com/chrynan/graphkl
- Owner: chRyNaN
- License: apache-2.0
- Created: 2019-12-26T18:33:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-14T08:07:50.000Z (over 5 years ago)
- Last Synced: 2025-09-10T02:53:53.089Z (10 months ago)
- Topics: graphql, graphql-client, graphql-server, graphql-tools, kotlin, kotlin-library, kotlin-multi-platform, kotlin-multiplatform
- Language: Kotlin
- Homepage:
- Size: 243 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## graphkl
A [Kotlin](https://kotlinlang.org/) library for working with [GraphQL](https://graphql.org/).
This project consists of multiple independent modules, each available as their own library, providing different utilities for working with GraphQL. Refer to each module's **README** file for module specific information.
### Modules
#### core
* Specification implementation
* Lexer/Parser
* Models
* Base module
#### query-dsl-annotation
* Annotations for an annotation processor that generates a Kotlin query DSL based on a GraphQL Schema
#### query-dsl-creator
* Responsible for creating the Kotlin query DSL
* Depends on the **core** and **query-dsl-builder** modules
* Can be called from an annotation processor, build system plugin, or compiler plugin to generate a Kotlin query DSL
#### query-dsl-builder
* Contains utilities for helping in the creation of a Kotlin query DSL for a GraphQL Schema
#### schema-creator
* Responsible for creating a GraphQL file (.gql) from a `GraphQLSchema` model from the **core** module
* Turns a Kotlin class into a GraphQL Schema
* Depends on the **core** module
* Can be called from an annotation processor, build system plugin, or compiler plugin to generate a GraphQL Schema
#### schema-dsl
* A convenience Kotlin DSL for creating a `GraphQLSchema` model from the **core** module