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

fix issue415 #416

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix issue415 #416

wants to merge 1 commit into from

Conversation

Routee
Copy link

@Routee Routee commented Aug 30, 2023

@knaeckeKami
Copy link
Collaborator

Hi!

Thanks for you PR.

The GraphQL spec actually required every error to have a String message, see

https://spec.graphql.org/October2021/#sec-Errors.Error-result-format

So I think throwing an Exception is the right behaviour, even though the Exception could be more descriptive I admit.

If you want non-standard behavior like this, you can pass your own ResponseParser to your HttpLink/DioLink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants