search()

in packages/graphql-types-generator/fixtures/starwars.service.ts [1691:1826]


        search(text: $text) {
          ... on Human {
            id
            name
            homePlanet
            height
            mass
            friends {
              id
              name
              friends {
                id
                name
                ... on Human {
                  homePlanet
                  height
                  mass
                }
                ... on Droid {
                  primaryFunction
                }
              }
              ... 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
            starships {
              id
              name
              length
              coordinates
            }
          }
          ... on Droid {
            id
            name
            friends {
              id
              name
              friends {
                id
                name
                ... on Human {
                  homePlanet
                  height
                  mass
                }
                ... on Droid {
                  primaryFunction
                }
              }
              ... 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
            primaryFunction
          }
          ... on Starship {
            id
            name
            length
            coordinates
          }
        }