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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -28,6 +28,7 @@ This will add `/graphql` and `/graphiql` endpoints to your app.
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
*`batch`: Set the GraphQL view as batch (for using in [Apollo-Client](http:https://dev.apollodata.com/core/network.html#query-batching) or [ReactRelayNetworkLayer](https://github.com/nodkz/react-relay-network-layer))
*`middleware`: A list of graphql [middlewares](http:https://docs.graphene-python.org/en/latest/execution/middleware/).
You can also subclass `GraphQLView` and overwrite `get_root_value(self, request)` to have a dynamic root value