It's the moment of truth!
🎯 Your goal for this step:
Run a query that retrieves a playlist, its tracks, and their artist data all at once
Use the following playlist ID when completing these tasks.
6LB6g7S5nc1uVVfj00Kh6Z
Solution: Wrapping up
query GetPlaylist($playlistId: ID!) {playlist(id: $playlistId) {idnametracks {idnamedurationMsartist {namefollowers}}}}
You did it!
Fantastic job completing this server-side lab. You've tackled from start to finish the task of bringing in a new feature to our GraphQL API. From the schema to the resolver, the Artist
type is now part of our music catalog app.
But what better way to end a solo mission than with another challenge? Check out the implementation of the Track.artist
resolver, and see if you notice something in need of a performance tune-up...
Then, keep an eye out for the next course in the TypeScript series: Data Loaders with TypeScript & Apollo Server. The journey continues!
Share your questions and comments about this lesson
This course is currently in
You'll need a GitHub account to post below. Don't have one? Post in our Odyssey forum instead.