No middleware parameter
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reading the GraphQLView documentation and graphql_server/flask/views.py, which the issue identifies as disagreeing about the middleware parameter. Determine whether the intended resolution is to correct the documentation or support the documented parameter; done means the documentation and BaseGraphQLView behavior agree and the reported TypeError case is addressed.
Written by the indexing model from the issue text.
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?
- Dominant language
- Python
- Stars
- 134
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from graphql-python/graphql-server
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
graphql-python/graphql-server#137 · 3 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
graphql-python/graphql-server#135 · 4 comments · 3 reactions ·
-
type: feature
Difficulty 4/5 3-5 days Newbie friendliness 25/100
graphql-python/graphql-server#41 · 2 reactions ·
-
type: rfc
Difficulty 5/5 Over a week Newbie friendliness 25/100
graphql-python/graphql-server#25 · 8 comments · 4 reactions ·
All issues in graphql-python/graphql-server
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·