diff --git a/graphene_django/views.py b/graphene_django/views.py index 4129668..6514ea1 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -282,6 +282,8 @@ class GraphQLView(View): 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