For non data layer backed resources, prefer manual reads or generic actions to retrieve?
I'm going to get the data via Req.
Solution:Jump to solution
Depends on the interface you want, you get load and filter and all of that in reads, not necessarily in generic actions. so if it makes sense for you and you can turn the filter into params on the request, I would go with manual read, and if its just a simple call I would go with generic actions
3 Replies
Solution
Depends on the interface you want, you get load and filter and all of that in reads, not necessarily in generic actions. so if it makes sense for you and you can turn the filter into params on the request, I would go with manual read, and if its just a simple call I would go with generic actions
Generic actions that return resources can load, but yeah not filtering/sorting etc
You'd have to accept those as arguments
interesting so if I do manual reads filtering and sorting will be applied application layer?
that is very useful, thanks