github.com/opiuman/genqlient@v1.0.0/generate/testdata/queries/TypeNames.graphql (about)

     1  # @genqlient(typename: "Resp")
     2  query TypeNames {
     3    # @genqlient(typename: "User")
     4    user {
     5      id
     6      name
     7    }
     8    # @genqlient(typename: "Item")
     9    randomItem {
    10       id
    11       # @genqlient(typename: "NameType")
    12       name
    13    }
    14    # (ok to reuse the name as long as they match)
    15    # @genqlient(typename: "User")
    16    users {
    17      id
    18      name
    19    }
    20  }