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

Lexicon nits (Jan 2024 edition) #2111

Open
4 of 7 tasks
bnewbold opened this issue Jan 30, 2024 · 2 comments
Open
4 of 7 tasks

Lexicon nits (Jan 2024 edition) #2111

bnewbold opened this issue Jan 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bnewbold
Copy link
Collaborator

bnewbold commented Jan 30, 2024

Noticed these when doing a docs/descriptions pass (#2110). Maybe some of these were flagged before, or i'm confused.

  • com.atproto.server.describeServer links: string format could be 'uri'
  • com.atproto.sync.getRecord, commit param (CID): I think this should be DEPRECATED?
  • app.bsky.embed.images#viewImage thumb and fullsize fields (and other image views/fields): string format could be uri
  • com.atproto.moderation.createReport reason field missing max string size on creation, but has it in view/response?

More ambiguous:

  • app.bsky.actor.profile description field: would be nice if it was length 300 (not 256) for consistency with posts. We probably discussed, I think boat has probably sailed on this one.
  • com.atproto.sync.subscribeRepos#repoOp action field: has knownValues (create, update, delete) but not a closed set? Seems like it could be tighter.
  • com.atproto.repo.createRecord rkey: there is maxLength on createRecord, but not other methods. We should make this format record-key anyways, when that is ready

Some of the uri stuff was rolled up in #1994, but I only hit embeds there (not feed.generator, actor.profile, or other record views with blobs).

I wasn't hunting for nits, so there might be more.

@bnewbold bnewbold added the bug Something isn't working label Jan 30, 2024
@mackuba
Copy link

mackuba commented Feb 6, 2024

Captain, it's 2024… 😅

@bnewbold bnewbold changed the title Lexicon nits (Jan 2023 edition) Lexicon nits (Jan 2024 edition) Feb 6, 2024
@bnewbold
Copy link
Collaborator Author

bnewbold commented Feb 6, 2024

RIP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants