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: docs/aiohttp.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ gql_view(request) # <-- the instance is callable and expects a `aiohttp.web.Req
52
52
*`root_value`: The `root_value` you want to provide to graphql `execute`.
53
53
*`pretty`: Whether or not you want the response to be pretty printed JSON.
54
54
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
55
-
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
55
+
*`graphiql_version`: The graphiql version to load. Defaults to **"2.2.0"**.
56
56
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
57
57
*`graphiql_html_title`: The graphiql title to display. Defaults to **"GraphiQL"**.
58
58
*`jinja_env`: Sets jinja environment to be used to process GraphiQL template. If Jinja’s async mode is enabled (by `enable_async=True`), uses `Template.render_async` instead of `Template.render`. If environment is not set, fallbacks to simple regex-based renderer.
Copy file name to clipboardExpand all lines: docs/flask.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,10 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
46
46
*`root_value`: The `root_value` you want to provide to graphql `execute`.
47
47
*`pretty`: Whether or not you want the response to be pretty printed JSON.
48
48
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
49
-
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
49
+
*`graphiql_version`: The graphiql version to load. Defaults to **"2.2.0"**.
50
50
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
51
51
*`graphiql_html_title`: The graphiql title to display. Defaults to **"GraphiQL"**.
52
+
*`jinja_env`: Sets jinja environment to be used to process GraphiQL template. If environment is not set, fallbacks to simple regex-based renderer.
52
53
*`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))
53
54
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
54
55
*`validation_rules`: A list of graphql validation rules.
Copy file name to clipboardExpand all lines: docs/sanic.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
44
44
*`root_value`: The `root_value` you want to provide to graphql `execute`.
45
45
*`pretty`: Whether or not you want the response to be pretty printed JSON.
46
46
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
47
-
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
47
+
*`graphiql_version`: The graphiql version to load. Defaults to **"2.2.0"**.
48
48
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
49
49
*`graphiql_html_title`: The graphiql title to display. Defaults to **"GraphiQL"**.
50
50
*`jinja_env`: Sets jinja environment to be used to process GraphiQL template. If Jinja’s async mode is enabled (by `enable_async=True`), uses `Template.render_async` instead of `Template.render`. If environment is not set, fallbacks to simple regex-based renderer.
Copy file name to clipboardExpand all lines: docs/webob.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -43,9 +43,10 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
43
43
*`root_value`: The `root_value` you want to provide to graphql `execute`.
44
44
*`pretty`: Whether or not you want the response to be pretty printed JSON.
45
45
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
46
-
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
46
+
*`graphiql_version`: The graphiql version to load. Defaults to **"2.2.0"**.
47
47
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
48
48
*`graphiql_html_title`: The graphiql title to display. Defaults to **"GraphiQL"**.
49
+
*`jinja_env`: Sets jinja environment to be used to process GraphiQL template. If environment is not set, fallbacks to simple regex-based renderer.
49
50
*`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))
50
51
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
51
52
*`validation_rules`: A list of graphql validation rules.
0 commit comments