Generate a GraphQL API and a graph backend from a single GraphQL schema.
We’re overhauling Dgraph’s docs to make them clearer and more approachable. If
you notice any issues during this transition or have suggestions, please
let us know.
Dgraph lets you generate a GraphQL API and a graph backend from a single
GraphQL schema, no resolvers or custom
queries are needed. Dgraph automatically generates the GraphQL operations for
queries and
mutationsGraphQL developers can get started in minutes, and need not
concern themselves with the powerful graph database running in the background.Dgraph extends the GraphQL specifications with
directives and allows you to
customize the behavior of GraphQL operations using
custom resolvers or to write you own
resolver logic with Lambda resolvers.Dgraph also supports
GraphQL subscriptions with the @withSubscription
directive: a client app can execute a subscription query and receive real-time
updates when the subscription query result is updated.
Apollo federation : you can create a
gateway GraphQL service that includes the Dgraph GraphQL API and other GraphQL
services.