Skip to content

Stringify error message in subscription onError#62

Open
matrinox wants to merge 1 commit into
absinthe-graphql:masterfrom
matrinox:patch-1
Open

Stringify error message in subscription onError#62
matrinox wants to merge 1 commit into
absinthe-graphql:masterfrom
matrinox:patch-1

Conversation

@matrinox

Copy link
Copy Markdown

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

mgtitimoli commented Jun 5, 2022

Copy link
Copy Markdown
Contributor

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

matrinox commented Jun 6, 2022

Copy link
Copy Markdown
Author

@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