{"id":13428890,"url":"https://github.com/AurityLab/graphql-kotlin-toolkit","last_synced_at":"2025-03-16T02:30:45.168Z","repository":{"id":57717563,"uuid":"231481189","full_name":"AurityLab/graphql-kotlin-toolkit","owner":"AurityLab","description":"GraphQL toolkit for Kotlin.","archived":false,"fork":false,"pushed_at":"2021-09-12T20:07:57.000Z","size":659,"stargazers_count":10,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T19:39:25.262Z","etag":null,"topics":["codegen","codegenerator","gradle-plugin","graphql","kotlin","spring-boot"],"latest_commit_sha":null,"homepage":"https://auritylab.github.io/graphql-kotlin-toolkit/#/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AurityLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-03T00:20:35.000Z","updated_at":"2022-10-03T15:37:49.000Z","dependencies_parsed_at":"2022-09-10T12:22:27.180Z","dependency_job_id":null,"html_url":"https://github.com/AurityLab/graphql-kotlin-toolkit","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fgraphql-kotlin-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fgraphql-kotlin-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fgraphql-kotlin-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AurityLab%2Fgraphql-kotlin-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AurityLab","download_url":"https://codeload.github.com/AurityLab/graphql-kotlin-toolkit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243815611,"owners_count":20352197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codegen","codegenerator","gradle-plugin","graphql","kotlin","spring-boot"],"created_at":"2024-07-31T01:01:07.982Z","updated_at":"2025-03-16T02:30:44.382Z","avatar_url":"https://github.com/AurityLab.png","language":"Kotlin","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# GraphQL Kotlin Toolkit\n[![GitHub Actions](https://github.com/AurityLab/graphql-kotlin-toolkit/workflows/Gradle/badge.svg)](https://github.com/AurityLab/graphql-kotlin-toolkit/actions)\n[![codecov](https://codecov.io/gh/AurityLab/graphql-kotlin-toolkit/branch/master/graph/badge.svg?token=e8c5dSYCAS)](https://codecov.io/gh/AurityLab/graphql-kotlin-toolkit)\n[![Maven Central](https://img.shields.io/maven-central/v/com.auritylab.graphql-kotlin-toolkit/codegen?label=codegen)](https://mvnrepository.com/artifact/com.auritylab.graphql-kotlin-toolkit/codegen)\n[![Maven Central](https://img.shields.io/maven-central/v/com.auritylab.graphql-kotlin-toolkit/spring-boot?label=spring%20boot%20integration)](https://mvnrepository.com/artifact/com.auritylab.graphql-kotlin-toolkit/spring-boot)\n\nA toolkit for GraphQL, specifically for [Kotlin](https://kotlinlang.org/). This toolkit provides some useful tools that are compatible with [graphql-java](https://github.com/graphql-java/graphql-java).\n\n## Code generation\nThis tool follows the **schema-first** approach, in which you first write your *schema.graphqls* files and implement the server-side code for it afterwards.\nThis code generator additionally creates an interface for each resolver. \nThese can be used to implement each resolver in a clean way. The tool also provides specific parameters for each argument, allowing a more type safe way to access the incoming data.\nThis code generator also **supports Kotlin's null safety feature**!\n\nExample resolver:\n```kotlin\nclass MutationUpdateUser : GQLMutationUpdateUser {\n    override fun resolve(input: GQLUpdateUserInput, env: GQLMutationUpdateUser.Env): User {\n        TODO(\"implement your resolver\")\n    }\n}\n```\n\n**Getting started [here](docs/codegen/gettings-started.md)!**\n\n\n## Spring Boot integration\nThis integration works in a more opinionated way as it provides additional annotations which can be used to register code for various GraphQL types.\nIt also comes with a servlet, which handles all GraphQL requests.\n\n**Getting started [here](docs/spring-boot-integration/getting-started.md)!**\n\n\n## Documentation\n* Code generation\n    * [Getting started (Gradle Plugin)](docs/codegen/gettings-started.md)\n    * [Schema configuration](docs/codegen/schema-configuration.md)\n    * [Advanced configuration (Gradle Plugin)](docs/codegen/advanced-configuration.md)\n    * [Code generation with Spring Boot integration](docs/codegen/code-generation-with-spring-boot-integration.md)\n* Spring Boot integration\n    * [Getting started](docs/spring-boot-integration/getting-started.md)\n    * [Annotations](docs/spring-boot-integration/annotations.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAurityLab%2Fgraphql-kotlin-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAurityLab%2Fgraphql-kotlin-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAurityLab%2Fgraphql-kotlin-toolkit/lists"}