graphql-python / graphql-python/graphql-server

No middleware parameter

Open
#139 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
134
Forks
70
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.