Bootiful GraphQL with Kotlin • Dariusz Kuc • GOTO 2020



3
3499

This presentation was recorded at GOTO Chicago 2020. #GOTOcon #GOTOchgo http://gotochgo.com Dariusz Kuc - Principal Software Engineer and Top-rated Kotlin Speaker ABSTRACT 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 I'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 [...] TIMECODES 00:00 Intro 00:51 Spring Boot 01:22 GraphQL 01:51 Kotlin 02:51 graphql-kotlin 03:34 Demo - live coding 17:57 Conclusion Download slides and read the full abstract here: https://gotochgo.com/2020/sessions/1256/bootiful-graphql-with-kotlin https://twitter.com/GOTOchgo https://www.linkedin.com/company/goto- https://www.facebook.com/GOTOConferences #Kotlin #GraphQL #Programming #APIs #Frontend #Backend #SpringBoot #GraphQLKotlin #LiveCoding Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at http://gotocon.com SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1

Published by: GOTO Conferences Published at: 3 years ago Category: علمی و تکنولوژی