Version: Next
Subscriptions
Subscriptions are divided into three groups of changes: Create, Update and Delete.
new<Type>
: subscribe to the Create mutation event.updated<Type>
: subscribe to the Update mutation event.deleted<Type>
: subscribe to the Delete mutation event.
Graphback generates a subscription handler and filter input for each CRUD mutation field to let you subscribe to mutation events and receive real-time updates.
#
ExamplesSubscribing to a create
event on Note
:
You can apply filters to the subscription like so:
Subscribing to a update
event on Note
:
You can apply filters to the subscription like so:
Subscribing to a delete
event on Note
:
You can apply filters to the subscription like so: