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
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -55,11 +55,12 @@ gql_view(request) # <-- the instance is callable and expects a `aiohttp.web.Req
55
55
*`graphiql_version`: The graphiql version to load. Defaults to **"1.0.3"**.
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
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
59
`Template.render_async` instead of `Template.render`. If environment is not set, fallbacks to simple regex-based renderer.
60
60
*`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
61
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
62
62
*`validation_rules`: A list of graphql validation rules.
63
+
*`execution_context_class`: Specifies a custom execution context class.
63
64
*`max_age`: Sets the response header Access-Control-Max-Age for preflight requests.
64
65
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
65
66
*`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
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,8 @@ More info at [Graphene v3 release notes](https://github.com/graphql-python/graph
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
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,12 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
47
47
*`graphiql_version`: The graphiql version to load. Defaults to **"1.0.3"**.
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
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
51
`Template.render_async` instead of `Template.render`. If environment is not set, fallbacks to simple regex-based renderer.
52
52
*`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
53
*`middleware`: A list of graphql [middlewares](http://docs.graphene-python.org/en/latest/execution/middleware/).
54
-
*`validation_rules`: A list of graphql validation rules.
54
+
*`validation_rules`: A list of graphql validation rules.
55
+
*`execution_context_class`: Specifies a custom execution context class.
55
56
*`max_age`: Sets the response header Access-Control-Max-Age for preflight requests.
56
57
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
57
58
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
@@ -72,4 +73,4 @@ class UserRootValue(GraphQLView):
Copy file name to clipboardExpand all lines: docs/webob.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,8 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
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