Ash FrameworkAF
Ash Framework3y ago
2 replies
Jan Ulbrich

Ash.Resource.ManualRead And Filters

Hi, I’m wrapping an external REST API with an Ash resource and therefor use Ash.Resource.ManualRead. Reading the data is not a problem, but as the REST API is way less capable for filtering, I would like to run the returned data through the Ash filters I applied to the query. I mapped the returned data already to the Ash resource and now have an array of these resources. But how can I now apply the filters from the query? That’s what read!() normally would do, but calling that would lead to a recursion
Was this page helpful?