Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created October 6, 2021 18:42

Revisions

  1. wullemsb created this gist Oct 6, 2021.
    11 changes: 11 additions & 0 deletions hero.graphql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    query Hero($episode: Episode, $includeFields: Boolean!) {
    hero(episode: $episode) {
    name
    ... on Character @include(if: $includeFields){
    height
    appearsIn
    starships
    totalCredits
    }
    }
    }