sangria-graphql/sangria-akka-http-example
54.5
Adequate · 6 November 2026
263
lines of production code
Scala
primary language
4
measurements over time
What this system is
Behavioural changes
Adds CORS support, pagination queries, and Apollo tracing
The server now includes a new \CorsSupport\ trait to handle Cross-Origin Resource Sharing headers and preflight requests, enabling browser-based clients to interact with the API. The GraphQL schema has been extended with \humans\ and \droids\ fields that support pagination via \limit\ and \offset\ arguments, allowing clients to retrieve lists of characters. Additionally, the server now supports Apollo tracing via the \X-Apollo-Tracing\ header and uses a new fetcher-based deferred resolver for batching friend lookups, replacing the previous manual deferred resolver implementation.
src/main · high confidence
Updated example to use GraphQL best practices and added Heroku deployment support
The example application now follows GraphQL best practices for HTTP requests, switching from GET-based queries with query string parameters to POST requests with JSON bodies, and includes an interactive GraphQL Playground at the root path. Additionally, the project now supports Heroku deployment via a new app.json file and updated documentation.
(repo-wide) · high confidence
Test coverage
Added tests for Star Wars GraphQL schema queries
Added a new test suite (SchemaSpec) that validates the Star Wars GraphQL schema by verifying that the hero query correctly identifies R2-D2 and that fetching a specific human by ID returns the expected character details and friends list.
src/test · high confidence
Dependencies
Major dependency upgrade to Scala 2.13, Sangria 4.2, and Circe
The project has been upgraded from Scala 2.11 to 2.13.18 and migrated from the legacy \akka-http-experimental\ to stable \akka-http\ 10.2.10. The GraphQL library Sangria was updated to version 4.2.15, replacing the old \sangria\ artifact with the \org.sangria-graphql\ group, and added \sangria-slowlog\ and \sangria-circe\ integrations. JSON handling switched from json4s to Circe (0.14.15) with optics support, and the build now includes Java application packaging via sbt-native-packager.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 54 → 54 (+0.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 76 → 76 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 65 → 65 (+0.0)
- Readiness 39 → 39 (+0.0)
- Security 74 → 74 (+0.0)
Findings
- No change — the same findings as the prior survey.
Changes since last survey
- 5 commits — 5 feature/other, 0 fixes
By area
- (repo) — 3 commits
- (root) — 1 commit
- project/build.properties — 1 commit
Notable commits
- change: Merge pull request #198 from scala-steward/update/sbt-github-actions-0.32.2
- change: Merge pull request #199 from scala-steward/update/sangria-4.2.20
- change: Merge pull request #200 from scala-steward/update/sbt-1.13.1
- change: Update sangria to 4.2.20
- change: Update sbt, scripted-plugin to 1.13.1
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
sangria-graphql/sangria-akka-http-example was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 6 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 63d15cf50404ae01f46317c94a971f1a017dbac5 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-410a2463fa58.