# Kobby - Gradle codegen plugin of Kotlin DSL Client by GraphQL schema

**URL:** <https://discuss.kotlinlang.org/t/kobby-gradle-codegen-plugin-of-kotlin-dsl-client-by-graphql-schema/21765>\
**Category:** Uncategorized\
**Created:** [May 9, 2021, 2:48pm UTC](https://discuss.kotlinlang.org/t/kobby-gradle-codegen-plugin-of-kotlin-dsl-client-by-graphql-schema/21765 "2021-05-09T14:48:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ermadmi78](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@ermadmi78](https://discuss.kotlinlang.org/u/ermadmi78)\
**Post date:** [May 9, 2021, 2:48pm UTC](https://discuss.kotlinlang.org/t/kobby-gradle-codegen-plugin-of-kotlin-dsl-client-by-graphql-schema/21765/1 "2021-05-09T14:48:13Z")

</div>

![kobby_preview](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/3/38ebabde61cef9cdf67a611f5f38eb8cbd65db38.png)

Hi All.

I have recently released a beta version of Kobby Gradle Plugin - a codegenerator of Kotlin DSL Client by GraphQL schema. The generated DSL supports execution of complex GraphQL queries and mutations in Kotlin with syntax similar to native GraphQL syntax.  
Moreover, you can customize generated DSL by means of GraphQL schema directives and Kotlin extension functions.

The Kobby plugin is placed here:

> **[GitHub - ermadmi78/kobby: Kobby is a codegen plugin of Kotlin DSL Client by...](https://github.com/ermadmi78/kobby)**
>
> Kobby is a codegen plugin of Kotlin DSL Client by GraphQL schema. The generated DSL supports execution of complex GraphQL queries, mutation and subscriptions in Kotlin with syntax similar to native...

Usage example (Spring Boot GraphQL server with generated by means of Kobby client) your can see here:

> **[GitHub - ermadmi78/kobby-gradle-example: Example of Kotlin Spring Boot...](https://github.com/ermadmi78/kobby-gradle-example)**
>
> Example of Kotlin Spring Boot GraphQL Server with Spring Security authentication and authorization along with Kotlin GraphQL DSL Client generated by means of Kobby Gradle Plugin from GraphQL Schema...

---

<div class="post-metadata">

**Author:** ![gad2103](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@gad2103](https://discuss.kotlinlang.org/u/gad2103)\
**Post date:** [May 13, 2021, 1:27pm UTC](https://discuss.kotlinlang.org/t/kobby-gradle-codegen-plugin-of-kotlin-dsl-client-by-graphql-schema/21765/2 "2021-05-13T13:27:56Z")

</div>

How does this compare to Expedia’s kotlin library

> **[GitHub - ExpediaGroup/graphql-kotlin: Libraries for running GraphQL in Kotlin](https://github.com/ExpediaGroup/graphql-kotlin)**
>
> Libraries for running GraphQL in Kotlin. Contribute to ExpediaGroup/graphql-kotlin development by creating an account on GitHub.
