Jaeyson Anthony Y.
AEAsh Elixir
•Created by Jaeyson Anthony Y. on 5/14/2025 in #support
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 (
: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:
6 replies