We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Introducing Subscription Support in AshGraphql
55
clicks
Source: elixirforum.com
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.
Related posts
© HashMerge 2024