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

send error over websocket when query validation fails (fix #1790) #1792

Merged
merged 2 commits into from Mar 17, 2019

Conversation

ecthiender
Copy link
Member

@ecthiender ecthiender commented Mar 15, 2019

Description

Over websocket transport, in some cases of query validation errors, connection_error was thrown (which is for protocol errors) instead of error.

Affected components

  • Server

Related Issues

#1790

Solution and Design

Steps to test and verify

Simple fix to use the correct function to send GQL_ERROR and not GQL_CONNECTION_ERROR.

Limitations, known bugs & workarounds

@ecthiender ecthiender requested a review from 0x777 as a code owner March 15, 2019 12:28
@0x777 0x777 merged commit 961f1af into hasura:master Mar 17, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-1792.herokuapp.com is deleted

@hasura-bot
Copy link
Contributor

Review app for commit 3b9f035 deployed to Heroku: https://hge-ci-pull-1792.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1792-3b9f035

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.

None yet

3 participants