Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change mutation errors field from [Error] to [Error!] #3489

Merged
merged 3 commits into from
Dec 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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