Proof of Concept using Ash
I am wondering if some of the Main functions can be put in the resources. Learned a lot and got a lot of help from Zach!
Nice! Id say most of the functions in main.ex if not all of them could be implemented as actions, yes 🙂
Just had a brief skim though.
Ok, thanks for the skim.
Hey, nicely done!
If you’re interested in cleaning up some of the functions in main, you can implement all the create_* functions in the code_interface of each resource.
Thank you! The thing that held me up from trying those actions was how I would pass things into those actions.
I’ll have to look at the docs more on actions and code_interface.
Yep, you can pass
args into the code interface
Thank you for that reference!