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

Integrating WebSockets for GraphQL subscriptions in SvelteKit application with Apollo Server #6

Open
gwerneckp opened this issue Jun 3, 2023 · 0 comments

Comments

@gwerneckp
Copy link

I'm trying to integrate GraphQL subscriptions in my SvelteKit application using Apollo Server. I have successfully set up the basic GraphQL queries and mutations, but I'm struggling with implementing subscriptions.

In SvelteKit, the underlying server setup and management are abstracted away, and we don't have direct access to the HTTP server object.

I was expecting to find a way to integrate the WebSocket functionality required for subscriptions within the SvelteKit framework, or an alternative approach to enable GraphQL subscriptions in my SvelteKit application using Apollo Server.

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

No branches or pull requests

1 participant