Skip to content

Instantly share code, notes, and snippets.

View Lschulzes's full-sized avatar

Lucas Schulze Lschulzes

  • PatientStudio
  • Brazil
View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active July 29, 2025 02:10
Conventional Commits Cheatsheet
@OlegIlyenko
OlegIlyenko / Event-stream based GraphQL subscriptions.md
Last active July 5, 2025 14:15
Event-stream based GraphQL subscriptions for real-time updates

In this gist I would like to describe an idea for GraphQL subscriptions. It was inspired by conversations about subscriptions in the GraphQL slack channel and different GH issues, like #89 and #411.

Conceptual Model

At the moment GraphQL allows 2 types of queries:

  • query
  • mutation

Reference implementation also adds the third type: subscription. It does not have any semantics yet, so here I would like to propose one possible semantics interpretation and the reasoning behind it.