I want to load related records inside "relationships" key
Hi! I'm following the Ash book, specifically on loading related records:
Where I wanted to return the related records (
It returns:
I understand that the related records go in
Where I wanted to return the related records (
:albums) of :artist resource and the attributes of :albums are already public.It returns:
I understand that the related records go in
"included": ... key. But what I really wanted is to show the related attributes inside "relationships" key: