hero()

in packages/graphql-types-generator/fixtures/starwars.service.ts [1557:1666]


        hero(episode: $episode) {
          id
          name
          friends {
            id
            name
            friends {
              id
              name
              ... on Human {
                homePlanet
                height
                mass
              }
              ... on Droid {
                primaryFunction
              }
            }
            friendsConnection {
              totalCount
              edges {
                cursor
              }
              friends {
                id
                name
                friends {
                  id
                  name
                  ... on Human {
                    homePlanet
                    height
                    mass
                  }
                  ... on Droid {
                    primaryFunction
                  }
                }
                ... on Human {
                  homePlanet
                  height
                  mass
                }
                ... on Droid {
                  primaryFunction
                }
              }
            }
            appearsIn
            ... on Human {
              homePlanet
              height
              mass
              starships {
                id
                name
                length
                coordinates
              }
            }
            ... on Droid {
              primaryFunction
            }
          }
          friendsConnection {
            totalCount
            edges {
              cursor
            }
            friends {
              id
              name
              friends {
                id
                name
                ... on Human {
                  homePlanet
                  height
                  mass
                }
                ... on Droid {
                  primaryFunction
                }
              }
              ... on Human {
                homePlanet
                height
                mass
              }
              ... on Droid {
                primaryFunction
              }
            }
          }
          appearsIn
          ... on Human {
            homePlanet
            height
            mass
            starships {
              id
              name
              length
              coordinates
            }
          }
          ... on Droid {
            primaryFunction
          }
        }