graphql-python/graphene-django

GraphQLView should detect batch requests

Open

#967 ouverte le 21 mai 2020

Voir sur GitHub
 (7 commentaires) (1 réaction) (0 assignés)Python (754 forks)batch import
help wanted✨enhancement

Métriques du dépôt

Stars
 (4 173 stars)
Métriques de merge PR
 (Merge moyen 12j 13h) (1 PR mergée en 30 j)

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