diff --git a/graphene_django/views.py b/graphene_django/views.py index 412966802..6514ea105 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -282,6 +282,8 @@ def get_graphql_params(request, data): raise HttpError(HttpResponseBadRequest('Variables are invalid JSON.')) operation_name = request.GET.get('operationName') or data.get('operationName') + if operation_name == "null": + operation_name = None return query, variables, operation_name, id