graphql-python/graphene-django

GraphQLView should detect batch requests

Open

#967 opened on May 21, 2020

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Python (4,173 stars) (754 forks)batch import
help wanted✨enhancement

Description

Is there a valid reason why the GraphQLView input is validated to either only ever accept batched requests or never accept batched requests. Is it not reasonable to accept both?

https://github.com/graphql-python/graphene-django/blob/ee120c48e16dda818cb253fdc36b7053402956b0/graphene_django/views.py#L217

Contributor guide