这是indexloc提供的服务,不要输入任何密码
Skip to content

switch to query error variant that propagates error messages to GraphQL responses #39

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

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

hallettj
Copy link
Collaborator

Describe your changes

When we encounter problems with incoming query requests we've been sending back QueryError::InvalidQuery error values. But when the engine receives these it produces GraphQL responses that only say "internal error". This change switches to QueryError::UnprocessableContent. With this change the engine copies error messages from the connector to the GraphQL response.

@hallettj hallettj self-assigned this Apr 14, 2024
@hallettj hallettj merged commit b86c233 into main Apr 14, 2024
@hallettj hallettj deleted the jesse/propagate-error-messages-to-graphql-responses branch April 14, 2024 23:43
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