How do I call an action with a predetermined argument from a code interface?
Ash
I'm creating a personal project with AshDoubleEntry, and I want to create a code interface on the Ledger domain to get an Account with a specific identifier.
I currently have the following, but I'm not sure what to do to further? How do i define this hardcoded argument?
define :get_main_account do action :by_identifier get? true end
define :get_main_account do action :by_identifier get? true end
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.