How to use GraphQL API in GraphQL backend server?

If you are familiar with graphql, you should know that a graphql request contains three parameters: query, operation_name and variables. The graphql backend will automatically process these three parameters and pass them to the corresponding graphql interface (just like the Movie above). It will be transformed into the above four parameters: object, params, ctx, resolveInfo. I need to parse out the parameters that meet the dgraph graphql api request from these parameters, and then initiate a CRUD request to the dgraph graphql server.