Skip to content

Commit 23fb85c

Browse files
authored
Merge pull request #31 from bwells/docs-middleware
Add documenation that flask-graphql supports middleware
2 parents 298d890 + 7b6c672 commit 23fb85c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This will add `/graphql` and `/graphiql` endpoints to your app.
2828
* `graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
2929
* `graphiql_template`: Inject a Jinja template string to customize GraphiQL.
3030
* `batch`: Set the GraphQL view as batch (for using in [Apollo-Client](http://dev.apollodata.com/core/network.html#query-batching) or [ReactRelayNetworkLayer](https://github.com/nodkz/react-relay-network-layer))
31+
* `middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
3132

3233
You can also subclass `GraphQLView` and overwrite `get_root_value(self, request)` to have a dynamic root value
3334
per request.

0 commit comments

Comments
 (0)