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
+3-3
Original file line number
Diff line number
Diff line change
@@ -52,14 +52,14 @@ 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.0.3"**.
55
+
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
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
-
*`jinja_env`: Sets jinja environment to be used to process GraphiQL template. If Jinja’s async mode is enabled (by `enable_async=True`), uses
59
-
`Template.render_async` instead of `Template.render`. If environment is not set, fallbacks to simple regex-based renderer.
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.
60
59
*`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))
61
60
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
62
61
*`validation_rules`: A list of graphql validation rules.
62
+
*`execution_context_class`: Specifies a custom execution context class.
63
63
*`max_age`: Sets the response header Access-Control-Max-Age for preflight requests.
64
64
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
65
65
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
Copy file name to clipboardExpand all lines: docs/flask.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,13 @@ More info at [Graphene v3 release notes](https://github.com/graphql-python/graph
53
53
*`root_value`: The `root_value` you want to provide to graphql `execute`.
54
54
*`pretty`: Whether or not you want the response to be pretty printed JSON.
55
55
*`graphiql`: If `True`, may present [GraphiQL](https://github.com/graphql/graphiql) when loaded directly from a browser (a useful tool for debugging and exploration).
56
-
*`graphiql_version`: The graphiql version to load. Defaults to **"1.0.3"**.
56
+
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
57
57
*`graphiql_template`: Inject a Jinja template string to customize GraphiQL.
58
58
*`graphiql_html_title`: The graphiql title to display. Defaults to **"GraphiQL"**.
59
59
*`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))
60
60
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
61
-
*`validation_rules`: A list of graphql validation rules.
61
+
*`validation_rules`: A list of graphql validation rules.
62
+
*`execution_context_class`: Specifies a custom execution context class.
62
63
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
63
64
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
64
65
*`subscriptions`: The GraphiQL socket endpoint for using subscriptions in graphql-ws.
@@ -79,4 +80,4 @@ class UserRootValue(GraphQLView):
Copy file name to clipboardExpand all lines: docs/sanic.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -44,14 +44,14 @@ 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.0.3"**.
47
+
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
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
-
*`jinja_env`: Sets jinja environment to be used to process GraphiQL template. If Jinja’s async mode is enabled (by `enable_async=True`), uses
51
-
`Template.render_async` instead of `Template.render`. If environment is not set, fallbacks to simple regex-based renderer.
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.
52
51
*`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
52
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
54
-
*`validation_rules`: A list of graphql validation rules.
53
+
*`validation_rules`: A list of graphql validation rules.
54
+
*`execution_context_class`: Specifies a custom execution context class.
55
55
*`max_age`: Sets the response header Access-Control-Max-Age for preflight requests.
56
56
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
57
57
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
@@ -72,4 +72,4 @@ class UserRootValue(GraphQLView):
Copy file name to clipboardExpand all lines: docs/webob.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -43,12 +43,13 @@ 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.0.3"**.
46
+
*`graphiql_version`: The graphiql version to load. Defaults to **"1.4.7"**.
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
49
*`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
50
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
51
-
*`validation_rules`: A list of graphql validation rules.
51
+
*`validation_rules`: A list of graphql validation rules.
52
+
*`execution_context_class`: Specifies a custom execution context class.
52
53
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
53
54
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
54
55
*`enable_async`: whether `async` mode will be enabled.
@@ -59,4 +60,4 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
59
60
*`should_persist_headers`: An optional boolean which enables to persist headers to storage when true. Defaults to **false**.
0 commit comments