How to use Dgraph with Apollo Server?

apollo-link-http could be used for the GraphQL endpoint and dgraph-js client used for the DQL endpoints.

If you are creating your own GraphQL layer above Dgraph, then you could potentially connect to both GraphQL and DQL endpoints as needed.

I think you may want to read: