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 sending of subscription errors. #2166

Merged
merged 2 commits into from
Jan 23, 2025
Merged

Conversation

jsdt
Copy link
Contributor

@jsdt jsdt commented Jan 23, 2025

Description of Changes

This is pulling out the server side changes that were originally in #2111.

Previously the code was not sending subscription errors for invalid queries (because we were treating those errors as generic internal errors). This fixes that. It also adds the query id to those subscription error messages, so that the clients aren't forced to track the request ids.

Expected complexity level and risk

1

Testing

This change is covered with some end-to-end tests in #2111.

Adding unit tests in the future would be good.

Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved these in the original PR; I'll approve em here too.

@gefjon gefjon enabled auto-merge January 23, 2025 19:21
@gefjon gefjon added this pull request to the merge queue Jan 23, 2025
Merged via the queue into master with commit b85c3b5 Jan 23, 2025
13 checks passed
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