Sessions
GOTO Chicago 2020

Monday Apr 27
15:30 –
16:10
Room 4
Wednesday Apr 29
11:00 –
11:40
Room 4
Wednesday Apr 29
14:30 –
15:10
Room 4

Bootiful GraphQL with Kotlin

Slides:


This video is also available in the GOTO Play video app! Download it to enjoy offline access to our conference videos while on the move.

Available in Google Play Store or Available in Apple App Store




GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. In the GraphQL world, the schema plays a central role as it defines all the fields and types that can be queried by the clients. This makes GraphQL APIs extremely powerful as clients use this information to custom tailor their queries to only ask for the data they need.

Kotlin strong types and null safety makes it an excellent choice for implementing GraphQL schemas. In this talk we'll show you how graphql-kotlin can transform this potentially tedious schema generation process into a breeze. With code-only, or resolver-first, approach graphql-kotlin generates schemas directly from the source code making it the single source of truth for defining your GraphQL APIs. Using this approach, your Kotlin classes, properties and functions are mapped to corresponding GraphQL types and fields. Furthermore, since the GraphQL queries are resolved by invoking underlying Kotlin functions we can also utilize the power of Kotlin coroutines to asynchronously process all of our requests!

Learn how to utilize the power of Spring Boot together with graphql-kotlin to easily create new reactive GraphQL web services in 15 minutes or less!

back-end
programming
Kotlin
graphql
API
front-end