@scroobius-pip This PR Update gRPC library in dgraph-js to use gRPC-js by anurags92 · Pull Request #125 · dgraph-io/dgraph-js · GitHub extends dgraph-js client. You can use
const clientStub = new dgraph.clientStubFromSlashGraphQLEndpoint(
graphQlEndpoint,
apiKey
);
const dgraphClient = new dgraph.DgraphClient(clientStub);
to connect directly to dgraph.