graphql-python/graphene-django

GraphQLView should detect batch requests

Open

#967 aperta il 21 mag 2020

Vedi su GitHub
 (7 commenti) (1 reazione) (0 assegnatari)Python (754 fork)batch import
help wanted✨enhancement

Metriche repository

Star
 (4173 star)
Metriche merge PR
 (Merge medio 12g 13h) (1 PR mergiata in 30 g)

Descrizione

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

Guida contributor