How to use GraphQL API in GraphQL backend server?

I’m trying to understand the flows involved here - it’s either:

  1. Client (Webbrowser) sends GraphQL to Juniper backend. Juniper backend does preprocessing of query, then sends query to Dgraph.
  2. Dgraph sends data to Juniper backend (in JSON format). Juniper does preprocessing of response and sends to Client (web browser)

If it’s 2:
I fail to see how “some parameters cannot be passed on to the client side” - the response from Dgraph is a JSON, and it should be fairly easy in Rust to inspect a JSON.

If it’s 1:
Well you need some library in rust that deals with GraphQL as an object itself - not sure if there is one