Content Deep Dive
Types of Realtime GraphQL Subscriptions
Blog post from Hasura
Post Details
Company
Date Published
Author
Catalin Pit
Word Count
3,425
Language
English
Hacker News Points
-
Summary
In this text, we discuss the different types of Realtime GraphQL Subscriptions and how they work. We also explore the implementation of GraphQL subscriptions using Hasura, which provides two types of subscriptions - live queries and streaming subscriptions. Additionally, we delve into the use of @defer and @stream directives for data prioritization in GraphQL servers. Lastly, we provide a step-by-step guide on building an application that uses GraphQL subscriptions with both a custom-built server and Hasura.