bastiW
AshGraphql Subscription - Why does the data do not show up on subscribe?
Hi,
I created an Ash application with the following:
- AshGraphql
- Subscription
- AshSqlite
The issue is that the data does not show up in the graphiql interface. The issue can be reproduced with the reproduction repository.
Minimal Reproduction Repository
I followed the Video and the Guide here:
Most Liked
bastiW
Found workaround - OpenAI codex found it…
Switch from simple GraphQL interface to playground - as the simple seem to not support the subscriptions:
https://github.com/bastiW/my_subscription_app_sqlite/commit/5542ffc7770475b4443a60792ba886fbeb2a7b86
I also provided here a quick guide on how to setup it from scratch
Last Post!
bastiW
The subscription is a Phoenix Subscription. So it is not a normal Websocket GraphQL subscription which is compatible with Apollo or Relay GraphQL.
When I add some roundtrips around on the setup it works - still looks like that sometimes the connection breaks.
How can I change the Ash Absinthe code, so that it is a standard Apollo or Relay Subscription?
Trending in Questions
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #elixirconf-us
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









