You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iex> Yggdrasil.subscribe(name: "new_books", adapter: :postgres, transformer: :json)
{:error, "Yggdrasil postgres not registered in any node"}
If I declare {yggdrasil, "~> 5.0"}, then I have a dependency problem. The command mix deps.get returns:
Failed to use "phoenix_pubsub" (version 2.0.0) because
phoenix (version 1.6.6) requires ~> 2.0
yggdrasil (versions 5.0.1 and 5.0.2) requires ~> 1.1
I tested that the trigger worked with Postgrex.Notification using this setup:
# when I notify in a psql session:
yggdrasil_pg_notify=# NOTIFY "new books", '{"id": 1, "title": "one"}';# the iex responds with:
iex(2)> [info] [id: 1, title: "one"]
The text was updated successfully, but these errors were encountered:
I use
{:phoenix, "~> 1.6.6"}
withproject[:elixir] = 1.13
and{:yggdrasil, "~> 6.0"}
andconfig :yggdrasil, postgres: [hostname: "localhost"]
I tested the "pg_notify" example:
If I declare
{yggdrasil, "~> 5.0"}
, then I have a dependency problem. The commandmix deps.get
returns:Failed to use "phoenix_pubsub" (version 2.0.0) because
phoenix (version 1.6.6) requires ~> 2.0
yggdrasil (versions 5.0.1 and 5.0.2) requires ~> 1.1
I tested that the trigger worked with
Postgrex.Notification
using this setup:The text was updated successfully, but these errors were encountered: