GraphQL subscriptions enable clients to receive continual, real-time updates whenever new data becomes available. Unlike queries and mutations, subscriptions are long-lasting. This means a client can receive multiple updates from a single subscription.
GraphQL subscriptions enable clients to receive continual, real-time updates whenever new data becomes available. Unlike queries and mutations, subscriptions are long-lasting. This means a client can receive multiple updates from a single subscription.
Spring GraphQL provides out of box support for GraphQL subscriptions over WebSockets using graphql-transport-ws protocol.
This PR adds new
federation-spring-subscription-callback
module that provides support for subscriptions using Apollo HTTP callback protocol.See