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 Future). 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. All interfaces are pure and types are referentially transparent. Schemas are type safe and derived at compile time. No need to manually define a schema for every type in your API. Let the compiler do the boring work. Out-of-the-box support for major HTTP server libraries, effect types, Json libraries and more.

Features

  • Excellent interoperability
  • Minimal boilerplate
  • Purely functional
  • Caliban is a purely functional library for building GraphQL servers and clients in Scala
  • Clean separation between schema definition and implementation
  • Pure interface
  • Minimal amount of boilerplate

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Caliban

Caliban Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Caliban!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Libraries

Registered

2023-03-08