Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change type of mutation error field

fowczarek896cda3cd3e0
diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.py
index b7e8b261f4..12b8585f5b 100644
--- a/saleor/graphql/core/mutations.py
+++ b/saleor/graphql/core/mutations.py
@@ -44,7 +44,7 @@ class ModelMutationOptions(MutationOptions):
class BaseMutation(graphene.Mutation):
errors = graphene.List(
- Error,
+ graphene.NonNull(Error),
description='List of errors that occurred executing the mutation.')
class Meta: