Ash FrameworkAF
Ash Framework8mo ago
14 replies
Terris

Can reads return anything?

I have a search action that needs to return an array of tuples consisting of a resource reference and an atom that conveys why the resource was found by the search. There is only one type of resource involved so the action fits nicely in the resource. Can this be a read action or should it be generic?
Solution
read actions always return lists of records pertaining to the resource
Was this page helpful?