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

feat: Add Heartbeat to updater #916

Merged

Conversation

df-wg
Copy link
Contributor

@df-wg df-wg commented Oct 8, 2024

This will be used in wundergraph/cosmo#1227, specifically so that all of the subscriptions can create heartbeats to keep connections alive. This is a necessary step for supporting https://www.apollographql.com/docs/graphos/routing/operations/subscriptions/multipart-protocol#executing-a-subscription

@df-wg df-wg requested a review from StarpTech October 8, 2024 19:03
@df-wg df-wg requested a review from jensneuse October 9, 2024 08:10
@df-wg df-wg force-pushed the dave/eng-5695-implement-graphql-subscriptions-over-multipart branch from cd10850 to afdebf2 Compare October 9, 2024 13:32
@df-wg df-wg requested a review from StarpTech October 9, 2024 13:41
@@ -81,6 +81,73 @@ func TestGraphQLSubscriptionClientSubscribe_SSE(t *testing.T) {
serverCancel()
}

func TestGraphQLSubscriptionClientSubscribe_Heartbeat(t *testing.T) {
if flags.IsWindows {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why skipped on windows?

Copy link
Collaborator

@StarpTech StarpTech left a comment

Choose a reason for hiding this comment

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

LGTM

@df-wg df-wg merged commit e56cabf into master Oct 9, 2024
8 checks passed
@df-wg df-wg deleted the dave/eng-5695-implement-graphql-subscriptions-over-multipart branch October 9, 2024 14:10
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