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
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
I do have
ash_postrgres . Closing this until it's a problem. For now it's just a warning.