GraphQL-python-archive / graphql-django-view

[DEPRECATED | Use graphene-django package] A django view that will execute a GraphQLSchema using a given Executor.
http://graphene-python.org/
MIT License
23 stars 7 forks source link

Get middleware, before passing it to GraphQL-Core executor #14

Open femesq opened 8 years ago

femesq commented 8 years ago

In this line 96[https://github.com/graphql-python/graphql-django-view/blob/master/graphql_django_view/__init__.py#L96] it seens that we should get middlewares from self.schema and pass it as parameter to execute (from graphql-core[https://github.com/graphql-python/graphql-core/blob/features/next/graphql/execution/executor.py#L27])