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
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ gql_view(request) # <-- the instance is callable and expects a `aiohttp.web.Req
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
+
*`validation_rules`: A list of graphql validation rules.
62
63
*`max_age`: Sets the response header Access-Control-Max-Age for preflight requests.
63
64
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
64
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
+1
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ 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
62
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
62
63
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
63
64
*`subscriptions`: The GraphiQL socket endpoint for using subscriptions in graphql-ws.
Copy file name to clipboardExpand all lines: docs/sanic.md
+1
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ This will add `/graphql` endpoint to your app and enable the GraphiQL IDE.
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
55
*`max_age`: Sets the response header Access-Control-Max-Age for preflight requests.
55
56
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
56
57
*`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/webob.md
+1
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,7 @@ 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
52
*`encode`: the encoder to use for responses (sensibly defaults to `graphql_server.json_encode`).
52
53
*`format_error`: the error formatter to use for responses (sensibly defaults to `graphql_server.default_format_error`.
53
54
*`enable_async`: whether `async` mode will be enabled.
0 commit comments