How to use Dgraph with Apollo Server?

Connecting with apollo-link-http is just fine or its better to use dgraph-js client ?

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: