finds.dev

Netflix/dgs-framework

GraphQL for Java with Spring Boot made easy.

View on GitHubHomepage ↗

★ 3,373KotlinApache-2.0updated Jun 2026

// the take

DGS is Netflix's GraphQL server framework for Spring Boot, built on top of graphql-java. It adds annotation-driven data fetchers, a code generation plugin that generates Java/Kotlin types from your .graphqls schema, and first-class support for GraphQL Federation. If you're building a GraphQL API in the Spring ecosystem, this is the most production-battle-tested option available.

The code generation plugin is the real differentiator — you define your schema once and get type-safe POJOs and data fetcher interfaces generated, which eliminates a whole class of runtime type mismatch bugs. Federation support is native, not bolted on, which matters if you're building a microservices graph. The included test framework lets you write unit tests against data fetchers without spinning up a full Spring context, making test setup significantly less painful than vanilla graphql-java. The Spring Boot 4 migration on v11+ means it's tracking the current ecosystem rather than lagging behind.

It's Kotlin-written but the examples mix Java and Kotlin in a way that makes it harder to follow for teams that are all-in on one language. The dependency on graphql-java underneath means you inherit its complexity and quirks — N+1 problems with data loaders still require the same ceremony as raw graphql-java. Documentation has gaps around advanced federation scenarios and the instrumentation API. Subscription support works, but the WebSocket implementation uses the older subscriptions-transport-ws protocol by default rather than graphql-ws, which can cause friction with modern clients.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
3,373
Forks
334
Language
Kotlin
License
Apache-2.0
Last commit
12 Jun 2026

// nearby

If dgs-framework isn't quite it.

All repos →