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

Stringify error message in subscription onError #62

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

Conversation

matrinox
Copy link

By default we should show an error that the engineer can immediately understand

By default we should show an error that the engineer can immediately understand
@mgtitimoli
Copy link
Member

mgtitimoli commented Jun 5, 2022

Graphql spec says error message should be string and there is an extensions field to provide additional context about the error (#29 (comment)), I would prefer to take this route and add support to the extensions field.

Would it be possible for you to return the error context in the extensions field instead?

@matrinox
Copy link
Author

matrinox commented Jun 6, 2022

@mgtitimoli sure, let me investigate

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