One GraphQL request must return the whole page - artist, genres, tracklist and reviews together. That is the point of GraphQL versus the REST N+1 pattern. - [ ] route `/album/:id` (code-split as its own chunk) - [ ] `ALBUM_DETAIL` query with nested relations - [ ] `album(id: ID!)` resolver - [ ] DataLoaders make the nested fields a constant number of SQL queries **Acceptance:** opening an album shows the tracklist and reviews with no more than a handful of DB queries regardless of list length. ## What is already there The loaders exist. `server/src/loaders/index.ts` has `createLoaders(db)`, and `searchAlbums` already resolves `artists` and `genres` through them, one query for the whole page rather than one per album. What is missing is applying them to the detail page and to `tracks` and `reviews`, which have no loaders yet. `album(id: ID!)` is in `schema.graphql` but `Query` only has `searchAlbums`. Adding that resolver is part of this. The client has no detail route either. `client/src/App.tsx` is still the search page, so this is a new route and a new chunk. ## Overlap with #18 #18 lists "code-split the detail route" as a bærekraft measure. Same code, one implementation. Build it as its own chunk here and #18 only has to measure it. ## One thing worth checking early `Album.reviews` is a paginated connection, not a plain list. So the "whole page in one request" story has a limit: the first page of reviews is part of the same request, further pages are not. Decide how many reviews the detail view shows before writing the query, so the single-request claim in the acceptance line is one you can actually make.