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 69f7c26 commit 6a99238Copy full SHA for 6a99238
flask_graphql/graphqlview.py
@@ -101,7 +101,7 @@ def dispatch_request(self):
101
elif not self.batch:
102
raise HttpQueryError(
103
400,
104
- 'Batch requests are not allowed.'
+ 'Batch GraphQL requests are not enabled.'
105
)
106
107
tests/test_graphqlview.py
@@ -381,7 +381,7 @@ def test_handles_batch_correctly_if_is_disabled(client):
381
382
assert response.status_code == 400
383
assert response_json(response) == {
384
- 'errors': [{'message': 'Batch requests are not allowed.'}]
+ 'errors': [{'message': 'Batch GraphQL requests are not enabled.'}]
385
}
386
387
0 commit comments