Feature Request: Handling PDS resoultion for getRecord #1689
Labels
feat
A label indicating that this issue is a new feature.
help wanted
Extra attention is needed
untriaged
A label Indicating this Issue has not yet been initiated.
Proposal
Currently with the
atproto.repo.getRecord
endpoint, the service is hard coded to your PDS (set by theServiceContext
in the repo service). This is a problem because this means that with this library you can only fetch content records from your own user's PDS. Content records are a valuable way to share information between users, and only being able to fetch from your own PDS is limiting. I propose thatgetRecord
should dynamically resolve the PDS based on the DID fed to it.Currently code that does this looks something like:
Risks
It would add more complexity.
The text was updated successfully, but these errors were encountered: