# gRPC over GraphQL

**URL:** <https://discuss.dgraph.io/t/grpc-over-graphql/8491>\
**Category:** Dgraph\
**Tags:** dgraph, status:needs-attenti, kind:feature, area:graphql\
**Created:** [March 15, 2020, 11:53am UTC](https://discuss.dgraph.io/t/grpc-over-graphql/8491 "2020-03-15T11:53:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [March 15, 2020, 11:53am UTC](https://discuss.dgraph.io/t/grpc-over-graphql/8491/1 "2020-03-15T11:53:18Z")

</div>

**Moved from GitHub [dgraph/4939](https://github.com/dgraph-io/dgraph/issues/4939)**

_Posted by_ [l4nn1312](https://github.com/l4nn1312):

### What you wanted to do

I’d like to be able to query my v2 /graphql database from gRPC and the go client because protobufs are smaller than JSON (if I’m not mistaken) and I can keep a database ope

### What you actually did

Right now I’m having my go server make raw graphql queries to access the database which feels clunky.

### Any external references to support your case

Other folks suggested it in the discourse.

---

<div class="post-metadata">

**Author:** ![damienburke](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@damienburke](https://discuss.dgraph.io/u/damienburke)\
**Post date:** [August 26, 2020, 12:26pm UTC](https://discuss.dgraph.io/t/grpc-over-graphql/8491/2 "2020-08-26T12:26:20Z")

</div>

I had a similar question… but more just curious as not using /graphql currently, just looking into it. Thanks

---

<div class="post-metadata">

**Author:** ![pawan](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/pawan/32/1946_2.png) [@pawan](https://discuss.dgraph.io/u/pawan)\
**Post date:** [August 27, 2020, 6:06am UTC](https://discuss.dgraph.io/t/grpc-over-graphql/8491/3 "2020-08-27T06:06:59Z")

</div>

We don’t have plans to support the GraphQL API over gRPC right now. Even if we do, we would have to mostly send the JSON response back wrapped in a protobuf which won’t save the user much bandwidth.

Curious as to how do you plan to use this? Are you planning to use the gRPC API from the browser or from a backend server? Last I checked, browsers don’t have great support for gRPC.

---

<div class="post-metadata">

**Author:** ![damienburke](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@damienburke](https://discuss.dgraph.io/u/damienburke)\
**Post date:** [August 28, 2020, 8:11am UTC](https://discuss.dgraph.io/t/grpc-over-graphql/8491/4 "2020-08-28T08:11:16Z")

</div>

Cheers. No actual plans to use /graphql yet, so just trying to understand its capabilities/uses. As u allude to /graphql is aimed at being a tool for UI apps to call directly, and not for other servers to call, which in itself clarifies it a bit more for me. Thanks
