+0
日增长
994
stars
261
forks
19
watchers
2,790
prs
435
issues
93
releases
README
Caliban [![Release Artifacts][Badge-SonatypeReleases]][Link-SonatypeReleases] [![Badge-Discord]][Link-Discord] [Link-SonatypeReleases]: https://central.sonatype.com/artifact/com.github.ghostdogpr/caliban_3 "Sonatype Releases" [Badge-SonatypeReleases]: https://img.shields.io/maven-central/v/com.github.ghostdogpr/caliban_3 "Sonatype Releases" [Link-Discord]: https://discord.gg/2ccFBr4 "Discord" [Badge-Discord]: https://img.shields.io/discord/629491597070827530?logo=discord "chat on 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! Anduin Transactions AnyMind Group AutoScout24 BusinessChat.io Carvana Conduktor Credimi Devsisters Fugo.ai LeadIQ Norwegian Agency for Shared Services in Education and Research Sanjagh.pro Soundtrack Your Brand StepZen Undo Valamis Group
Top issues
#1743Supporting Scala.js / Scala Native on the server7 comments · 2023-05-31#574Client: autogenerate view classes from query7 comments · 2020-08-31#2755Another way to generate schema for @oneOf type5 comments · 2025-09-15#2184Fine-grained support for `null` values.4 comments · 2024-04-11#2795Field Cost Estimation Function3 comments · 2025-11-14#2661Handling `extend type` directive3 comments · 2025-05-30#2569Empty objects/enums - `_: String! = __typename` instead of `_: Boolean = null`3 comments · 2025-03-03#2235Setup CI to run benchmarks and access results3 comments · 2024-05-17
Latest release
v3.2.1 v3.2.1 2026-11-06Release Notes This release adds @defer support to Caliban Gateway and fixes queries with repeated fragment spreads taking exponential time to process. It also includes a few bug fixes and forks fewer fibers per gateway request. New Features Added @defer support to the gateway, enabled by default and using the deferSpec=20220824 format, by @ghostdogpr in https://github.com/ghostdogpr/caliban/pull/3160 Bug Fixes Fixed exponential processing of queries that spread the same fragments several times at each level, in maxDepth, maxFields, cost estimation, cache control and the gateway,