Include author when fetching books
It would be nice to get author information (name and ID) when fetching books
Right now I only get author information as part of a relationship:
As the relationship field is not something I really use in the frontend, could you add the author name and ID to the attributes part if possible?
{
...
'authors': {
'id': 5
'name': 'Hans'
}
}
I could use the author ID to go to the author detail view from the books list.