# Graphql detection template mutation Hero($episode: Episode, $withFriends: Boolean!) { hero(episode: $episode) { name friends @include(if: $withFriends) { name ... on Droid { primaryFunction } ... on Human { height } } } } query HeroNameAndFriends { hero { name friends { name } } } fragment comparisonFields on Character { name appearsIn friends { name } } input StoryLikeSubscribeInput { storyId: string clientSubscriptionId: string }