To view this content, buy the book! 😃🙏
Or sign in if you’ve already purchased.
The content between a pair of curly braces is called a selection set—the list of data fields we’re requesting. For instance, the selection set in the above StarsAndChapter query lists the githubStars and chapter fields:
StarsAndChapter
githubStars
chapter
{ githubStars chapter(id: 0) { title } }
And chapter has its own selection set: { title }.
{ title }