Caliban is a purely functional library for building GraphQL servers and clients in Scala.
The design principles behind the library are the following:
- minimal amount of boilerplate: no need to manually define a schema for every type in your API.
- pure interface: errors and effects are returned explicitly (no exceptions thrown), all returned types are referentially transparent (no
- clean separation between schema definition and implementation: schema is defined and validated at compile time using Scala standard types, resolver (
RootResolver) is a simple value provided at runtime.
Documentation to learn how to use Caliban.Consult the
#caliban channel on ZIO Discord.Any questions? Head up to the
Here is a partial list of companies using Caliban in production.
Want to see your company here? Submit a PR!