earl7731
AEAsh Elixir
•Created by earl7731 on 5/3/2023 in #support
Mix ash_postgres.create problem
When I run mix ash_postgres.create on my project, I get the following error message in the terminal console:
mix ash_postgres.create
** (Protocol.UndefinedError) protocol Enumerable not implemented for Bbg.Bids of type Atom
(elixir 1.14.3) lib/enum.ex:1: Enumerable.impl_for!/1
(elixir 1.14.3) lib/enum.ex:166: Enumerable.reduce/3
(elixir 1.14.3) lib/enum.ex:4307: Enum.reverse/1
(elixir 1.14.3) lib/enum.ex:3646: Enum.to_list/1
(elixir 1.14.3) lib/enum.ex:4251: Enum.flat_map_list/2
lib/mix/helpers.ex:11: AshPostgres.MixHelpers.apis!/2
lib/mix/helpers.ex:41: AshPostgres.MixHelpers.repos!/2
lib/mix/tasks/ash_postgres.create.ex:37: Mix.Tasks.AshPostgres.Create.run/1
I have thoroughly checked all settings and cannot seem to see why I am getting this error. I expect I am overlooking something. However, I am not sure what it is. Any suggestions would be helpful. Thanks for your help.
5 replies
AEAsh Elixir
•Created by earl7731 on 4/21/2023 in #support
ash_admin update to Surface 0.10.0
Is the update of ash_admin to surface 0.10.0 mentioned @ https://github.com/ash-project/ash_admin (2 days ago) available in hex.pm? If not, what would be the best way to update to fix for Surface 0.10.0. Getting the form macro expansion problem at compile time. Thanks for your help.
5 replies
AEAsh Elixir
•Created by earl7731 on 3/27/2023 in #support
Help with manage_related
The AshAdmin Demo uses the "manage_related" option in form to allow the Admin UI to know details about displaying a related resource.
When I use "manage_related" (just as shown in the video), I get the following compilation error:
"(CompileError) undefined function manage_related/1 (there is no such import)
Stacktrace:
(ash_admin 0.8.0) expanding macro: AshAdmin.Resource.Form.form/1
...
Any idea what I am overlooking or doing incorrectly? Can't seem to find "manage_related" term anywhere.
Thanks for your help.
10 replies