Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.
This repository was archived by the owner on May 17, 2025. It is now read-only.

It doesn't seem the Apollo client send subscribe via websocket event type #312

Description

@zhaoyi0113

I am using this solution to setup graphql subscription in a lambda. But this code confused me:

https://github.com/reconbot/graphql-lambda-subscriptions/blob/main/lib/handleWebSocketEvent.ts#L44

When I test it by using ApolloClient in node, the client doesn't send a message type subscribe, instead it sends start. Is there anything wrong in the websocket event handler or should I change anything in client side to follow this message type?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions