Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Netflix DGS

netflix.github.io

  • Free plan
  • API
  • Self-hosted
7.0 Club score Visit netflix.github.io

What Netflix DGS is

Netflix DGS is a free, open-source GraphQL server framework for Spring Boot, deployed as a self-hosted service. Its annotation-based programming model supports Java and Kotlin, with Gradle or Maven projects. DGS favors schema-first development: schema files belong in the project’s src/main/resources/schema folder, and a Gradle plugin can generate Java types from a GraphQL schema. A testing framework runs GraphQL queries in lightweight unit tests, while data loaders batch requests to help address the N+1 problem. The framework supports GraphQL Federation, WebSocket and SSE subscriptions, file uploads, error handling, and extension points. Spring Security integration allows configured applications to apply @Secured to data fetchers. DGS also integrates with Spring for GraphQL, though that path lacks SSE subscriptions and some DGS data-loader features. A browser GraphiQL editor and IntelliJ navigation plugin are included. Current documentation requires Spring Boot 3 and JDK 17; DGS 11+ with Spring Boot 4 is actively maintained.

Who it suits

DGS suits Java or Kotlin teams building self-hosted GraphQL services with Spring Boot. It is useful for schema-first projects needing testing, code generation, federation, or security integration.

Good to know, and what to watch

  • Free under the Apache-2.0 license
  • Java and Kotlin programming model
  • Schema-based Java type generation
  • GraphQL query testing framework
  • Federation and data-loader support
  • Current documentation requires JDK 17
  • Spring for GraphQL integration lacks SSE subscriptions
  • Some DGS data-loader features do not carry over
  • Self-hosted deployment required

Netflix DGS Framework

Free

Open source

The verdict

DGS provides a broad Spring Boot toolkit for building and operating GraphQL services. Teams should account for its current Spring and JDK requirements, plus the stated limits of Spring for GraphQL integration.

What the maker publishes

Additional features
The framework includes GraphQL subscriptions over WebSockets and SSE, file uploads, error handling, and extension points. source
Build tools
Projects can use Gradle or Maven, with Java or Kotlin. source
Code generation
Its Gradle code generation plugin generates Java types from a GraphQL schema. source
Code generation
The DGS code generation plugin can generate data types from a GraphQL schema. source
Compatibility status
The repository says DGS 11+ with Spring Boot 4 is actively maintained, while DGS 10.x with Spring Boot 3 receives most feature backports until the second half of 2026. source
Data loaders
Data loaders batch data requests to help solve the GraphQL N+1 problem. source
Federation
DGS supports GraphQL Federation and can reference and extend federated types. source
GraphiQL
The framework provides a GraphiQL query editor that can be opened in a browser while the service is running. source
IDE plugin
An IntelliJ plugin provides navigation between schema files and code, hints, and quick fixes. source
Language and build tools
The getting-started guide supports Java or Kotlin and Gradle or Maven. source
License
The repository lists the Apache-2.0 license. source
Maintainer
Netflix primarily maintains the framework, with an active community around it. source
Programming model
DGS provides an annotation-based programming model for Java and Kotlin. source
Purpose
DGS is a GraphQL server framework for Spring Boot that makes it easier to create GraphQL services. source
Requirements
The current documentation requires Spring Boot 3 and JDK 17; DGS 5.x, which supported Spring Boot 2 and JDK 8, is no longer maintained. source
Schema development
DGS is designed for schema-first development and loads schema files from the project's src/main/resources/schema folder. source
Security integration
DGS integrates with Spring Security, allowing @Secured to be applied to data fetchers after Spring Security is configured. source
Spring GraphQL integration limitation
The integration currently lacks support for SSE-based subscriptions and some DGS data-loader features do not work with Spring for GraphQL data loaders. source
Spring integration
DGS integrates with Spring for GraphQL, allowing users to use Spring for GraphQL features and web transports with DGS. source
Testing
DGS includes a test framework for running GraphQL queries in lightweight unit tests. source
Testing
DGS provides a query executor for testing data fetchers and documents integration testing with Spring MockMvc and HttpGraphQlTester. source

Checked against the maker's pages on 9 Oct 2026.