Introducing Subscription Support in AshGraphql

26
clicks
Introducing Subscription Support in AshGraphql

Source: elixirforum.com

Type: Discussion

The latest update in AshGraphql introduces functionality for adding subscriptions through a Domain-Specific Language (DSL). With this feature, developers can use the following code snippet to implement subscriptions: `subscriptions do pubsub YourAppWeb.Endpoint subscribe :something_changed do action_types [:create, :update, :destroy] end end`. Currently, users must include the dependency from GitHub, with an official release expected to follow shortly. The author has also created a demo video to illustrate the setup process.

© HashMerge 2024