Skip to content

Commit

Permalink
Merge pull request #3489 from mirumee/2746/Change_mutation_errors_fie…
Browse files Browse the repository at this point in the history
…ld_type

Change mutation errors field from [Error] to [Error!]
  • Loading branch information
maarcingebala committed Dec 19, 2018
2 parents a1bb298 + f7bb3c8 commit 1714cb9
Show file tree
Hide file tree
Showing 62 changed files with 199 additions and 172 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ All notable, unreleased changes to this project will be documented in this file.
- Add error page if object was not found - #3463 by @dominik-zeglen
- Fix simple product's inventory data saving bug - #3474 by @dominik-zeglen
- Replace `thumbnailUrl` with `thumbnail { url }` - #3484 by @dominik-zeglen
- Change mutation errors field from [Error] to [Error!] - #3489 by @fowczarek
2 changes: 1 addition & 1 deletion saleor/graphql/core/mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1714cb9

Please sign in to comment.