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

     1  # @genqlient(pointer: true)
     2  # @genqlient(for: "UserQueryInput.id", pointer: false)
     3  # @genqlient(for: "User.id", pointer: false)
     4  query PointersQuery(
     5    $query: UserQueryInput,
     6    # @genqlient(pointer: false)
     7    $dt: DateTime,
     8    $tz: String,
     9  ) {
    10    user(query: $query) {
    11      # @genqlient(pointer: true)
    12      id
    13      roles
    14      name
    15      emails
    16      # @genqlient(pointer: false)
    17      emailsNoPtr: emails
    18    }
    19    otherUser: user(query: $query) {
    20      id
    21    }
    22    maybeConvert(dt: $dt, tz: $tz)
    23  }