AshEvents: AshPostgres.DataLayer.Info.repo/1 is undefined
After installing ash_events on a working Ash+Postgres app (by adding {:ash_events, "~> 0.2.0"}), I get this warning when I start it. Application works otherwise but I don't have ash events wired to any resources yet.
warning: AshPostgres.DataLayer.Info.repo/1 is undefined (module AshPostgres.DataLayer.Info is not available or is yet to be defined)
│
25 │ pg_repo = AshPostgres.DataLayer.Info.repo(changeset.resource)
│ ~
│
└─ lib/events/action_wrapper_helpers.ex:25:42: AshEvents.Events.ActionWrapperHelpers.create_event!/4
Solution:Jump to solution
I do have
ash_postrgres
. Closing this until it's a problem. For now it's just a warning.3 Replies
🤔
you have
ash_postgres
as a dependency?We are using this together with
ash_sqlite
as well, and therefore did not have ash_postgres
as dep.
Maybe that is also the case for you @Terris ? 🙂Solution
I do have
ash_postrgres
. Closing this until it's a problem. For now it's just a warning.