graphql-python / graphql-python/flask-graphql

Configuration Options for shape of Batch GraphQL Return JSON

Open
#47 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.3k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Awesome project you got going here, thanks for keeping this going. I've been using the batch option to allow for batch-GraphQL requests from ApolloClient, but it doesn't seem like there is an easy way to specify what shape I want the data to return in? Correct me if I'm wrong.

For example, currently when sending batch-requests, I get back a JSON array with the data I am interested in nested under a "data" key which is itself nested in a "payload" key.

```
[
{"payload":
{"data":
{

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.