Skip to content

Netflix/dgs-intellij-plugin

Repository files navigation

dgs-intellij-plugin

Build Version Downloads

This plugin helps to build GraphQL applications in Java using the DGS framework. The DGS Framework is open sourced by Netflix and builds on Spring Boot.

The plugin integrates with the JS GraphQL plugin and adds DGS specific features such as code intentions and data fetcher navigation.

Configuration with .graphqlconfig

The DGS IntelliJ plugin works with the underlying JS GraphQL IntelliJ Plugin to support additional functionality provided by the DGS Framework. The JS GraphQL plugin accepts a .graphqlconfig file for specifying different parameters such as schema location and project setup.

Note

When using a .graphqlconfig file, it's important that schema locations are specified using includes so that your application's schema is found correctly. If you use schemaPath, you will run into errors because you are overriding all of the possible schema locations. If you find errors about missing type definitions or federation directives, it's likely as a result of this issue.

Status

The plugin is currently under early development and considered experimental.