ghostdogpr / caliban   2.9.0

Apache License 2.0 Website GitHub

Functional GraphQL library for Scala

Scala versions: 3.x 2.13 2.12
Scala.js versions: 1.x
Scala Native versions: 0.4
sbt plugins: 1.x

Caliban

Release Artifacts Snapshot Artifacts Badge-Discord

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.
  • high performance: while every public interface is pure and immutable, library internals have been optimized for speed.
  • 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.

Consult the Documentation to learn how to use Caliban.

Any questions? Head up to the #caliban channel on ZIO Discord.

Adopters

Here is a partial list of companies using Caliban in production.

Want to see your company here? Submit a PR!