graphql-python/graphene-django

GraphQLView should detect batch requests

Ouverte

#967 ouverte le 21 mai 2020

 (7 commentaires) (1 réaction) (0 personne assignée)Python (754 forks)batch import
help wanted✨enhancement

Métriques du dépôt

Stars
 (4 173 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur