graphql-python / graphql-python/graphql-server

No middleware parameter

Aperta
#139 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
134
Fork
70
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The documentation about `GraphQLView` list `middleware` as a parameter, but it doesn't works:

```
TypeError: BaseGraphQLView.__init__() got an unexpected keyword argument 'middleware'
```

Looking at the code in `graphql_server/flask/views.py` confirms that the parameter doesn't exists. Is there another way to pass middlewares?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.