Enable DeGraphQL

Enable the DeGraphQL plugin to disable regular Gateway Service function.

Once the plugin is enabled, it builds the path and GraphQL query to connect to the GraphQL service with. Connected Gateway Services represent a REST API and not the GraphQL endpoint itself. Kong Gateway will return a 404 Not Found status code if no DeGraphQL routes have been configured. For a complete tutorial which shows you how to create a service and GraphQL routes, see Map URIs into GraphQL queries with DeGraphQL.

Prerequisites

  • You have an upstream service with a GraphQL endpoint

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!