Posts tagged with 'subscriptions'
Found 1 posts tagged with 'subscriptions'.
Adblocker Detected
It looks like you're using an adblocker. Our website relies on ads to keep running. Please consider disabling your adblocker to support us and access the content.
Building a GraphQL API with Node.js and Apollo Server
Testing Subscriptions
In the GraphQL Playground, you can test the subscription by running the following:
subscription {
bookAdded {
title
author
}
}
When you execute the addBook
mutation, you'll see real-time updates in the subscription.