For non data layer backed resources, prefer manual reads or generic actions to retrieve?

I'm going to get the data via Req.
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
Jump to solution
3 Replies
Solution
barnabasj
barnabasj2mo ago
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
ZachDaniel
ZachDaniel2mo ago
Generic actions that return resources can load, but yeah not filtering/sorting etc You'd have to accept those as arguments
rtorresware
rtorreswareOP2mo ago
interesting so if I do manual reads filtering and sorting will be applied application layer? that is very useful, thanks

Did you find this page helpful?