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.
3 Replies
That may just be an old example
manage_relationship
is what we use now
oh, wait
That is really old
š
it figures it out based on the actions
Yeah, so what you'd do is modify your action:
Zach, thanks for the prompt reply. I will review see if I can fix the problem using your suggestions. Thanks again. Great work, appreciate you and the team working on Ash.