We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29f28bc commit ca115f5Copy full SHA for ca115f5
docs/settings.rst
@@ -186,3 +186,24 @@ Default: ``None``
186
GRAPHENE = {
187
'SUBSCRIPTION_PATH': "/ws/graphql"
188
}
189
+
190
191
+``GRAPHIQL_HEADER_EDITOR_ENABLED``
192
+---------------------
193
194
+GraphiQL starting from version 1.0.0 allows setting custom headers in similar fashion to query variables.
195
196
+Set to ``True`` to enable GraphiQL headers editor tab.
197
198
+This setting is passed to ``headerEditorEnabled`` GraphiQL options, for details refer to GraphiQLDocs_.
199
200
+.. _GraphiQLDocs: https://github.com/graphql/graphiql/tree/main/packages/graphiql#options
201
202
203
+Default: ``False``
204
205
+.. code:: python
206
207
+ GRAPHENE = {
208
+ 'GRAPHIQL_HEADER_EDITOR_ENABLED': True,
209
+ }
0 commit comments