Skip to content
SPECIFICTION
Get listed

Sangria

sangria-graphql.github.io

APISelf-hosted
Visit sangria-graphql.github.io
Spec score 6.8 #22 of 32 in GraphQL Tools

Spec sheet

Purpose
Sangria is a Scala implementation of GraphQL.Read 8 Oct 2026 · sangria-graphql.github.io
Product
Sangria is a Scala implementation of GraphQL.Read 8 Oct 2026 · sangria-graphql.github.io
Intended users
The documentation presents Sangria as a library for Scala developers building GraphQL servers and endpoints.Read 8 Oct 2026 · sangria-graphql.github.io
Audience
The getting-started guide describes Sangria as a layer inside a Scala application for building a GraphQL server while leaving transport, data format, and storage choices to the application.Read 8 Oct 2026 · sangria-graphql.github.io
Integrations
The project says Sangria is spec compliant and works with Apollo, Relay, GraphiQL, and other GraphQL tools and libraries.Read 8 Oct 2026 · github.com
Support
The community page directs users to Stack Overflow for help and Gitter for general discussion.Read 8 Oct 2026 · sangria-graphql.github.io
License
The Sangria repository states that the project is licensed under Apache License 2.0.Read 8 Oct 2026 · github.com
Authentication
The documentation says Sangria does not provide explicit security primitives and demonstrates implementing authentication and authorization through application context, resolvers, middleware, and field tags.Read 8 Oct 2026 · sangria-graphql.github.io
Client compatibility
The project describes Sangria as spec compliant and compatible with Apollo, Relay, GraphiQL, and other GraphQL tools and libraries.Read 8 Oct 2026 · github.com
Code generation
Macros can derive GraphQL object type definitions from Scala classes and customize generated types.Read 8 Oct 2026 · sangria-graphql.github.io
Contributions
Users are invited to report bugs through the issue tracker and contribute code or documentation through pull requests.Read 8 Oct 2026 · sangria-graphql.github.io
Execution
Its Executor runs queries against a schema and can use a user context object for shared data or authorization information.Read 8 Oct 2026 · sangria-graphql.github.io
Framework examples
The project provides example server integrations using Akka HTTP and Play Framework.Read 8 Oct 2026 · sangria-graphql.github.io
JSON libraries
Sangria supports multiple JSON libraries, including Circe, spray-json, and Play JSON.Read 8 Oct 2026 · sangria-graphql.github.io
JSON support
The documentation lists marshalling integrations for spray-json, Play JSON, Circe, Argonaut, json4s, MessagePack, and Amazon Ion.Read 8 Oct 2026 · sangria-graphql.github.io
Middleware
Sangria middleware can support performance measurement, metrics collection, and security enforcement at field and query level.Read 8 Oct 2026 · sangria-graphql.github.io
Query analysis
It supports query and schema validation, query complexity checks, and schema comparisons.Read 8 Oct 2026 · sangria-graphql.github.io
Query execution
Its Executor runs GraphQL queries against a schema and user context.Read 8 Oct 2026 · sangria-graphql.github.io
Query parsing
Sangria parses GraphQL queries and offers a macro that reports syntax errors at compile time.Read 8 Oct 2026 · sangria-graphql.github.io
Relay support
The sangria-relay library is offered for using Sangria with the React Relay framework.Read 8 Oct 2026 · sangria-graphql.github.io
Schema definition
It provides Scala abstractions for defining GraphQL schemas, types, fields, and resolvers.Read 8 Oct 2026 · sangria-graphql.github.io

Where Specifiction places it

Alternatives to SangriaAll alternatives →