Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created October 6, 2021 18:42
query Hero($episode: Episode, $includeFields: Boolean!) {
hero(episode: $episode) {
name
... on Character @include(if: $includeFields){
height
appearsIn
starships
totalCredits
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment