taeguk / caliban

Functional GraphQL library for Scala

Home Page:https://ghostdogpr.github.io/caliban/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caliban

Build Status Release Artifacts Snapshot Artifacts Badge-Scaladoc 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.
  • 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.

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!

About

Functional GraphQL library for Scala

https://ghostdogpr.github.io/caliban/

License:Apache License 2.0


Languages

Language:Scala 96.8%Language:Shell 3.0%Language:JavaScript 0.2%Language:Stylus 0.0%