10BC0 add "graphql-ws" example by kettanaito · Pull Request #110 · mswjs/examples · GitHub
[go: up one dir, main page]

Skip to content

Conversation

kettanaito
Copy link
Member

Adds an example of using MSW to intercept graphql-ws WebSocket-based subscriptions in GraphQL.

Todos

  • Migrate to an actual client like Apollo to have real-world UI updates. I see no way to "push" a new greeting as a result of some operation, like a mutation.
  • Add tests.

@kettanaito kettanaito changed the title add graphql-ws example add with-graphql-ws example Mar 19, 2024
@kettanaito kettanaito changed the title add with-graphql-ws example add "graphql-ws" example Mar 19, 2024
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.

1 participant

0