You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ This will add `/graphql` and `/graphiql` endpoints to your app.
28
28
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
29
29
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
30
30
*`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/).
31
32
32
33
You can also subclass `GraphQLView` and overwrite `get_root_value(self, request)` to have a dynamic root value
0 commit comments