Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lexicons: use 'tid' and 'record-key' formats in lexicons #2378

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bnewbold
Copy link
Collaborator

@bnewbold bnewbold commented Mar 31, 2024

Depends on: #2377

We'd probably want to hold off on actually merging this until we've done some dev comms and let the specs and library support PRs sink in.

Needs codegen.

@bnewbold bnewbold requested review from devinivy and dholms March 31, 2024 08:00
@bnewbold bnewbold marked this pull request as draft March 31, 2024 08:11
@bnewbold bnewbold marked this pull request as ready for review April 6, 2024 02:16
@sugyan
Copy link
Contributor

sugyan commented Apr 18, 2024

My Rust library is ready to handle these new formats correctly and code generating :)

@bnewbold
Copy link
Collaborator Author

I think this is now a good candidate to merge and deploy.

All of these use-points are on query parameters, not records, so there are no old/invalid records to worry about (an issue with some other Lexicon changes). These don't change what is an isn't valid: presumably all of these parameters should already validate against these identifier types. This mostly just improves documentation, and will help with codegen in other languages which have specific types for these string formats.

Manually resolved conflicts:
    lexicons/com/atproto/sync/listRepos.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants