Skip to content

A request actor and its result receiver accept different credentials #238

Backlog

Description

@SeanTAllen

The request actors and the result receivers each take credentials. JSONRequester.get(creds_a, url, ResultReceiver[Issue](creds_b, p, IssueJSONConverter)) fetches the issue with account A, but the Issue it produces gets account B, so issue.get_comments() and the other methods on it make their requests as B. LinkedJSONRequester with PaginatedResultReceiver or SearchResultReceiver does the same for a page and its prev_page()/next_page().

The library's own operations always pass the same credentials to both, so only callers who use the request actors and receivers directly can hit this. It's the same shape #219 removes from the pagination converters, one level up: two places to supply credentials for one request, and nothing that keeps them the same.

Fixing it changes a public constructor, either the receivers' or the requesters'.

Activity

  1. added theissue type on Dec 4, 2026
  2. added
    discuss during sync
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discuss during sync

    Type

    Fields

    Priority

    None yet

    Review Level

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions