Skip to content

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.

3 participants