Ash FrameworkAF
Ash Framework3y ago
40 replies
edwinofdawn

Ecto.Multi Usage

I saw only one post about how to use Ecto.Multi it directed me to Ash.Flow what I didn't find an example usage.
For context I have a record I want fetch using token provided its valid, after I get the record successfully I want to update a field on it and finally on success issue a JWT or on error just return the error. How will this look like in the update function ?. Is this a candidate for to consider using ManualActions ?
Was this page helpful?