Grackle - GraphQL server

By Rafał Piotrowski

Elevator Pitch

During this talk, we would like to introduce Grackle GraphQL server. We will show how it can be used and how it works under the hood.

Description

Grackle is a GraphQL server based on libraries from Typelevel stack (cats, FS2, circe). It has the unique ability to configure a mapping between GraphQL queries and SQL queries. It can also use in-memory collections instead of SQL database. It is available for Scala 3 (as well as for Scala 2). We would like to present this emerging solution.

We want to cover Grackle from the user point of view and also its internals: compilation of GraphQL into a query algebra and its interpretation for in-memory mappings as well as compilation to SQL for DB-backed mappings.

Notes

This talk will introduce Grackle as a unique solution to exposing GraphQL API that is transformed into SQL with simple mapping. This project is created mainly by Miles Sabin with the great help of Rob Norris and Tim Spence. It is still in development, but it is already used in production at ITV.

Miles Sabin is a person which does not need any introduction. Partner at underscoreio, Typelevel cofounder, Scala SIP committee member. Type astronaut, shapeless/scalac/dotty hacker.

Rafał Piotrowski is a Scala developer, working for Iterators, has some experience with remote-only conferences. He was a speaker at Scala Love 2022.